From 6d489634cb692afd9c5d717a60ce37ed8280a0d9 Mon Sep 17 00:00:00 2001 From: Tobias Laundal Date: Wed, 25 Jan 2023 03:38:26 +0000 Subject: [PATCH] docs: set `host` in sample `swa-cli.config.json` (#108) The host option is needed for `swa` to work on systems where `localhost` resolves to the IPv6 loopback address `::1`. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 29b8b99..e19b0c0 100644 --- a/README.md +++ b/README.md @@ -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" } } }