diff --git a/scripts/build_local_reticulum.sh b/scripts/build_local_reticulum.sh index 3f5e3a00136a84adf99b68926ee0dd1b17a09af3..ea4ceea4ca15851c731b7bdf870fb86da9ac7d88 100755 --- a/scripts/build_local_reticulum.sh +++ b/scripts/build_local_reticulum.sh @@ -4,4 +4,4 @@ if [ ! -e ../reticulum ]; then echo "This script assumes reticulum is checked out in a sibling to this folder." fi -rm -rf ../reticulum/priv/static ; GENERATE_SMOKE_TESTS=true BASE_ASSETS_PATH=https://localhost:4000/ yarn build -- --output-path ../reticulum/priv/static +rm -rf ../reticulum/priv/static ; GENERATE_SMOKE_TESTS=true BASE_ASSETS_PATH=https://hubs.test:4000/ yarn build -- --output-path ../reticulum/priv/static diff --git a/webpack.config.js b/webpack.config.js index 17fbb4f8b666a03a7d1577f07d011040b6125f40..5bc3f63e25adf2f36076ad3bc7bf9f72c085f706 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -41,6 +41,10 @@ function createHTTPSConfig() { { type: 2, value: "localhost" + }, + { + type: 2, + value: "hubs.test" } ] } @@ -93,6 +97,7 @@ const config = { https: createHTTPSConfig(), host: "0.0.0.0", useLocalIp: true, + public: "hubs.test:8080", port: 8080, before: function(app) { // networked-aframe makes HEAD requests to the server for time syncing. Respond with an empty body.