From 994a2e1e7bd4f64291e6826f41a06ac1e079cd05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20L=C3=B6fgren?= Date: Sat, 27 Jan 2024 14:47:35 +0000 Subject: [PATCH] Change domain to wikiweaver.stuffontheinter.net --- README.md | 2 +- docker-compose.yml | 2 +- wikiweaver-ext/firefox/background.js | 2 +- wikiweaver-ext/popup/popup.html | 6 +++--- wikiweaver-web/js/networking.js | 2 +- wikiweaver-web/nginx.conf | 8 +------- 6 files changed, 8 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 4c3a3d0..665ec18 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ WikiWeaver makes participating in and especially spectating WikiRaces a lot more Creating and joining lobbies is super simple. -The host goes to [stuffontheinter.net](https://stuffontheinter.net) to create and view a lobby. +The host goes to the [WikiWeaver webiste](https://wikiweaver.stuffontheinter.net/) to create and view a lobby. All players then join this lobby using the [Firefox addon](https://addons.mozilla.org/en-US/firefox/addon/wikiweaver/). All players that have successfully joined the lobby will be shown in the leaderboard in the bottom right. diff --git a/docker-compose.yml b/docker-compose.yml index 98f9bfa..889e2a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: web: build: ./wikiweaver-web ports: - - 443:443 + - 4243:443 volumes: - /etc/letsencrypt/live/stuffontheinter.net/fullchain.pem:/fullchain.pem - /etc/letsencrypt/live/stuffontheinter.net/privkey.pem:/privkey.pem diff --git a/wikiweaver-ext/firefox/background.js b/wikiweaver-ext/firefox/background.js index ed762f5..cb08560 100644 --- a/wikiweaver-ext/firefox/background.js +++ b/wikiweaver-ext/firefox/background.js @@ -1,4 +1,4 @@ -const domain = "https://stuffontheinter.net"; // Use this for production +const domain = "https://wikiweaver.stuffontheinter.net"; // Use this for production // const domain = "http://localhost:4242"; // Use this for local development chrome.webNavigation.onCommitted.addListener( diff --git a/wikiweaver-ext/popup/popup.html b/wikiweaver-ext/popup/popup.html index de31f77..7836c37 100644 --- a/wikiweaver-ext/popup/popup.html +++ b/wikiweaver-ext/popup/popup.html @@ -10,8 +10,8 @@
WikiWeaver
-
Go to - stuffontheinter.net +
Go to the + WikiWeaver website to create a lobby and enter that code here to join it
@@ -21,4 +21,4 @@
- \ No newline at end of file + diff --git a/wikiweaver-web/js/networking.js b/wikiweaver-web/js/networking.js index aa7f5ae..f621934 100644 --- a/wikiweaver-web/js/networking.js +++ b/wikiweaver-web/js/networking.js @@ -1,4 +1,4 @@ -const domain = "wss://stuffontheinter.net"; // Use this for production +const domain = "wss://wikiweaver.stuffontheinter.net"; // Use this for production // const domain = "ws://localhost:4242"; // Use this for local development const pingInterval = 30000; // milliseconds diff --git a/wikiweaver-web/nginx.conf b/wikiweaver-web/nginx.conf index 8a43b9b..cb36bc3 100644 --- a/wikiweaver-web/nginx.conf +++ b/wikiweaver-web/nginx.conf @@ -2,15 +2,9 @@ upstream api { server server:4242; } -server { - listen 80; - server_name stuffontheinter.net www.stuffontheinter.net - return 301 https://stuffontheinter.net$request_uri; -} - server { listen 443 ssl; - server_name stuffontheinter.net; + server_name wikiweaver.stuffontheinter.net; ssl_certificate /fullchain.pem; ssl_certificate_key /privkey.pem;