From 3fdca4b2ae6d5d7fa358209b83a851b63d2fdb1a Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 18 Feb 2024 16:41:36 +0000 Subject: [PATCH] Update galaxy.js --- galaxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy.js b/galaxy.js index 0d67282..21d92e2 100644 --- a/galaxy.js +++ b/galaxy.js @@ -144,7 +144,7 @@ export function initGalaxy({ supportsSaveManager, ignoreApiVersion, onLoggedInChanged, - origin: document.referrer, + origin: document.referrer.replace(/\/?$/, "/"), apiVersion: 0, loggedIn: false, postMessage: function (message) {