diff --git a/web/config.example.js b/web/config.example.js new file mode 100644 index 0000000..17192c3 --- /dev/null +++ b/web/config.example.js @@ -0,0 +1,7 @@ +// Copy to config.js (gitignored) on the anchor host. +// Served at /config.js; loaded before the React bundle in index.html. +window.WASTE_CONFIG = { + signalURL: 'wss://waste.dev.xplwd.com/ws', + // Uncomment to pre-fill the network name on this invite URL: + // defaultNetwork: 'friends', +} diff --git a/web/index.html b/web/index.html index 5e3836a..fe9c30c 100644 --- a/web/index.html +++ b/web/index.html @@ -4,10 +4,12 @@ -