Skip to content

Commit

Permalink
docs: set host in sample swa-cli.config.json (#108)
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`.
  • Loading branch information
tlaundal authored Jan 25, 2023
1 parent f0a9fce commit 6d48963
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 6d48963

Please sign in to comment.