mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Resolve game pages from the resolved root url
This commit is contained in:
1 parent
deba420e2f
commit
085529e9b6
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@
|
||||
LOG('Script loaded');
|
||||
|
||||
function getRoot() {
|
||||
const raw = window.KefinTweaksConfig?.kefinTweaksRoot;
|
||||
const raw = window.KefinTweaksConfig?.kefinTweaksRootResolved;
|
||||
if (!raw) return null;
|
||||
return raw.endsWith('/') ? raw : `${raw}/`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user