Skip to content

Commit 48ae8ed

Browse files
authored
Merge pull request #6255 from Shopify/use-localhost
Specify localhost for GraphiQL server
2 parents 3c224e3 + e4f4093 commit 48ae8ed

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/cli/services/dev/graphiql

1 file changed

+1
-1
lines changed

packages/app/src/cli/services/dev/graphiql/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,5 +222,5 @@ export function setupGraphiQLServer({
222222
}
223223
res.end()
224224
})
225-
return app.listen(port, () => stdout.write(`GraphiQL server started on port ${port}`))
225+
return app.listen(port, 'localhost', () => stdout.write(`GraphiQL server started on port ${port}`))
226226
}

0 commit comments

Comments
 (0)