From 204ef94d6a9a20c49a3ba96b1f329904bab10461 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Thu, 27 Jun 2024 14:47:52 +0100 Subject: [PATCH] add an index page for all tools --- web/index.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ web/rolldice.html | 2 +- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 web/index.html diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..0e7d10c --- /dev/null +++ b/web/index.html @@ -0,0 +1,45 @@ + + + + + Gamma World Gaming Tools + + +
+

Gamma World Gaming Tools

+
+ +
+ + + +
+
+
+ + + + \ No newline at end of file diff --git a/web/rolldice.html b/web/rolldice.html index 4c1c3ee..0c729be 100644 --- a/web/rolldice.html +++ b/web/rolldice.html @@ -13,7 +13,7 @@ const geometry = parseInt(document.getElementById('geometry').value, 10); const discard = document.getElementById('discard').checked; - fetch('http://localhost:5000/roll/dice', { + fetch('https://gammaworld.gmgauthier.com/roll/dice', { method: 'POST', headers: { 'Content-Type': 'application/json',