Skip to content

Commit

Permalink
Set host in sample swa-cli.config.json
Browse files Browse the repository at this point in the history
The host option is needed for `swa` to work on systems where `localhost` resolves to the IPv6 loopback address `::1`.  See Azure/static-web-apps-cli#646.
  • Loading branch information
tlaundal committed Jan 24, 2023
1 parent f0a9fce commit 30904df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ To run the CLI, install `@azure/static-web-apps-cli` and the [Azure Functions Co
"configurations": {
"app": {
"outputLocation": "./build/static",
"apiLocation": "./build/server"
"apiLocation": "./build/server",
"host": "127.0.0.1"
}
}
}
Expand Down

0 comments on commit 30904df

Please sign in to comment.