diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 206829e7a..be55d133c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,7 +66,7 @@ Make a PR to add it as a link to [`README.md`](README.md#integrations) so others ## Testing the web viewer * Build with `scripts/build_demo_web.sh` * Host with `scripts/start_server.sh` -* Open +* Open ## Code Style diff --git a/scripts/build_demo_web.sh b/scripts/build_demo_web.sh index 6bf314521..3bc33d225 100755 --- a/scripts/build_demo_web.sh +++ b/scripts/build_demo_web.sh @@ -122,12 +122,12 @@ echo "Finished ${FINAL_WASM_PATH}" if [[ "${OPEN}" == true ]]; then if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Linux, ex: Fedora - xdg-open http://localhost:8888/index.html + xdg-open http://localhost:8765/index.html elif [[ "$OSTYPE" == "msys" ]]; then # Windows - start http://localhost:8888/index.html + start http://localhost:8765/index.html else # Darwin/MacOS, or something else - open http://localhost:8888/index.html + open http://localhost:8765/index.html fi fi diff --git a/scripts/start_server.sh b/scripts/start_server.sh index 14243d749..e91288f17 100755 --- a/scripts/start_server.sh +++ b/scripts/start_server.sh @@ -6,7 +6,7 @@ cd "$script_path/.." # Starts a local web-server that serves the contents of the `doc/` folder, # i.e. the web-version of `egui_demo_app`. -PORT=8888 +PORT=8765 echo "ensuring basic-http-server is installed…" cargo install basic-http-server diff --git a/web_demo/README.md b/web_demo/README.md index 466be925f..62ac7a0fe 100644 --- a/web_demo/README.md +++ b/web_demo/README.md @@ -3,7 +3,7 @@ This folder contains the files required for the egui web demo hosted at +* Open ## Deploying egui.rs Each merge into `master` will trigger a new deploy