From 2bfbfc63ef65eff72274058cee7930c76973d93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20=20Sk=C3=B6ld?= Date: Sat, 17 Aug 2024 16:02:38 +0200 Subject: [PATCH] Remove double slash --- web/js/sn0w.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/sn0w.js b/web/js/sn0w.js index 2981276..884fbb2 100644 --- a/web/js/sn0w.js +++ b/web/js/sn0w.js @@ -26,7 +26,7 @@ export class SettingUtils { if (!options.headers) { options.headers = {}; } - const url = `${location.protocol}//${location.host}${route}`; + const url = `${location.protocol}/${location.host}${route}`; try { const response = await fetch(url, options); const data = await response.json();