Sync page bugfix

This commit is contained in:
Blaz Kristan
2023-06-08 07:06:23 +02:00
parent fec2d1f7ee
commit daa3200713
2 changed files with 159 additions and 159 deletions

View File

@@ -66,7 +66,7 @@
}
} else {
// detect reverse proxy
let paths = l.pathname.slice(1,l.pathname.endsWith('/')?-1:0).split("/");
let paths = l.pathname.slice(1,l.pathname.endsWith('/')?-1:undefined).split("/");
if (paths.length > 2) {
locproto = l.protocol;
loc = true;