We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bbf620 commit d6d7b05Copy full SHA for d6d7b05
src/config.ts
@@ -36,7 +36,7 @@ const {
36
export const DEFAULT_CONFIG: SWACLIConfig = {
37
// @public
38
port: parseInt(SWA_CLI_PORT || "4280", 10),
39
- host: SWA_CLI_HOST || isRunningInDocker() ? "0.0.0.0" : "localhost",
+ host: SWA_CLI_HOST || (isRunningInDocker() ? "0.0.0.0" : "localhost"),
40
apiPort: parseInt(SWA_CLI_API_PORT || "7071", 10),
41
appLocation: SWA_CLI_APP_LOCATION || `.`,
42
apiLocation: SWA_CLI_API_LOCATION ? SWA_CLI_API_LOCATION : undefined,
0 commit comments