mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-05 20:40:18 -08:00
fix
This commit is contained in:
@@ -474,7 +474,7 @@ window.search = window.search || {};
|
||||
(async function loadSearchIndex(lang = window.lang || 'en') {
|
||||
/* ───────── paths ───────── */
|
||||
const branch = lang === 'en' ? 'master' : lang;
|
||||
const baseRemote = `https://raw.githubusercontent.com/HackTricks-wiki/hacktricks/${branch}`;
|
||||
const baseRemote = `https://raw.githubusercontent.com/HackTricks-wiki/hacktricks-cloud/refs/heads/${branch}`;
|
||||
const remoteJs = `${baseRemote}/searchindex.js`;
|
||||
const localJs = '/searchindex.js';
|
||||
const TIMEOUT_MS = 5_000;
|
||||
|
||||
Reference in New Issue
Block a user