From c712fd74ad64245940b4769fb853d80c9484693b Mon Sep 17 00:00:00 2001 From: beerpsi <92439990+beerpiss@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:35:19 +0700 Subject: [PATCH] Fix site links (#3) * fix links * no jekyll --- .nojekyll | 0 extensions/extensions.js | 2 +- extensions/index.html | 6 +++--- index.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 .nojekyll diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/extensions/extensions.js b/extensions/extensions.js index 756c7f6..49d4a86 100644 --- a/extensions/extensions.js +++ b/extensions/extensions.js @@ -47,7 +47,7 @@ async init() { try { - const index = await fetch("/index.min.json").then((e) => e.json()); + const index = await fetch("../index.min.json").then((e) => e.json()); this.extensions = index.sort((a, b) => { if ("all" === a.lang && "all" !== b.lang) { diff --git a/extensions/index.html b/extensions/index.html index d94dc56..e6d0499 100644 --- a/extensions/index.html +++ b/extensions/index.html @@ -27,7 +27,7 @@ integrity="sha384-2HpI1Tt4Zv7emgrwKyetd6ouDie+RKolEtNHOdD+KCVHLj1V2fjxryG48h50f0Rw" crossorigin="anonymous" /> - +