diff --git a/web/index.html b/web/index.html
index 7e81218..7994dd3 100644
--- a/web/index.html
+++ b/web/index.html
@@ -79,7 +79,7 @@
document.getElementById('toolPanel').innerHTML = '';
document.getElementById('toolPanel').appendChild(imgElement);
- fetch('https://gammaworld.gmgauthier.com/coinflip')
+ fetch('${window.BASE_URL}/coinflip')
.then(response => response.text())
.then(data => {
let imgSrc = 'img/' + data.replace(/\"/g, '') + '.jpg';
@@ -107,12 +107,7 @@
imgElement.style.marginRight = 'auto';
resultSection.appendChild(imgElement);
- fetch('https://gammaworld.gmgauthier.com/roll/chance', {
- method: 'GET',
- headers: {
- 'Content-Type': 'application/json',
- },
- })
+ fetch('${window.BASE_URL}/dice/probability')
.then((response) => {
if (!response.ok) {
throw response;