diff --git a/README.md b/README.md index 76c32b59..8ca4fcaf 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ npm install npm run dev ``` -Navigate to [localhost:5000](http://localhost:5000). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes. +Navigate to [localhost:8080](http://localhost:8080). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes. By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the `sirv` commands in package.json to include the option `--host 0.0.0.0`. diff --git a/package.json b/package.json index 03cd4553..1fbd8f5e 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,6 @@ "svelte": "^3.0.0" }, "dependencies": { - "sirv-cli": "^1.0.0" + "sirv-cli": "^2.0.0" } }