Skip to content

Commit 3044f50

Browse files
authored
Update api/internal/handler/route_online_debug/route_online_debug.go
1 parent 43c9e23 commit 3044f50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/internal/handler/route_online_debug/route_online_debug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func DebugRequestForwarding(c droplet.Context) (interface{}, error) {
8282
return v.RequestForwarding(c)
8383
} else {
8484
return &data.SpecCodeResponse{StatusCode: http.StatusBadRequest},
85-
fmt.Errorf("protocol unspported %s, need http or https. but given %s", paramsInput.RequestProtocol, paramsInput.RequestProtocol)
85+
fmt.Errorf("Protocol unsupported %s, only http or https is allowed, but given %s", paramsInput.RequestProtocol, paramsInput.RequestProtocol)
8686
}
8787
}
8888

0 commit comments

Comments
 (0)