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

Commit

Permalink
Use patch from axios client
Browse files Browse the repository at this point in the history
  • Loading branch information
christinebrass committed Jan 16, 2019
1 parent 3399dbe commit 46d12fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gluestick/shared/lib/getHttpClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function getHttpClient(
// If a request object is provided, then we want to merge the custom headers
// with the headers that we sent from the browser in the request.
client = httpClient.create({
baseURL: protocol + req.hostname,
baseURL: protocol + req.host,
headers: {
...headers,
},
Expand Down

0 comments on commit 46d12fc

Please sign in to comment.