Skip to content

Commit 9952804

Browse files
committed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

polycode/web.go

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ func ConvertToHttpRequest(ctx context.Context, apiReq ApiRequest) (*http.Request
152152
for key, value := range apiReq.Header {
153153
req.Header.Set(key, value)
154154
}
155+
req.Host = req.Header.Get("Host")
155156

156157
return req, nil
157158
}

0 commit comments

Comments
 (0)