Skip to content

Commit

Permalink
fix: use 0.0.0.0 for test server (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergiy Petrunin committed Dec 28, 2022
1 parent 3885e5f commit 126778b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sdk/src/testing/index.ts
Expand Up @@ -202,10 +202,10 @@ export class WunderGraphTestServer<ClientType extends Client = Client> {
manageServer: true,
env: {
WG_CLOUD: 'true',
WG_NODE_URL: `http://localhost:${nodePort}`,
WG_NODE_URL: `http://0.0.0.0:${nodePort}`,
WG_NODE_HOST: '0.0.0.0',
WG_NODE_PORT: nodePort.toString(),
WG_SERVER_URL: `http://localhost:${serverPort}`,
WG_SERVER_URL: `http://0.0.0.0:${serverPort}`,
WG_SERVER_HOST: '0.0.0.0',
WG_SERVER_PORT: serverPort.toString(),
},
Expand Down

0 comments on commit 126778b

Please sign in to comment.