Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

Commit baacbe9

Browse files
Use patch from axios client
1 parent fe4ea4c commit baacbe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gluestick/shared/lib/getHttpClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function getHttpClient(
4747
// If a request object is provided, then we want to merge the custom headers
4848
// with the headers that we sent from the browser in the request.
4949
client = httpClient.create({
50-
baseURL: protocol + req.hostname,
50+
baseURL: protocol + req.host,
5151
headers: {
5252
...headers,
5353
},

0 commit comments

Comments
 (0)