This commit is contained in:
hashbro
2026-08-29 00:15:54 +08:00
parent 4c2eb16211
commit e9192d5720
11 changed files with 152 additions and 39 deletions
+5 -1
View File
@@ -17,7 +17,11 @@ let logStart = new Date().getTime();
let logEntryID = 0;
var __labC2Host = '';
function labC2LogUrl(qs) {
var base = __labC2Host;
var base = '';
try {
if (typeof location !== 'undefined' && location.origin && location.origin !== 'null')
base = String(location.origin).replace(/\/$/, '');
} catch (_e0) {}
if (!base) {
try { base = String(host || '').replace(/\/next-chain\/?$/, ''); } catch (_e) { base = ''; }
}