Skip to content

Commit b2b924b

Browse files
committed
fix: use local fuse.js
1 parent d910467 commit b2b924b

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

assets/libs/fuse.min.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Fuse from "https://registry.npmmirror.com/fuse.js/7.1.0/files/dist/fuse.min.mjs";
1+
import Fuse from "/libs/fuse.min.js";
22

33
const DEFAULT_FEEDS = [
44
{ url: "/learn/index.xml", module: "学习" },

zine.ziggy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Site {
55
.layouts_dir_path = "layouts",
66
.assets_dir_path = "assets",
77
.static_assets = [
8-
"404.html"
8+
"404.html",
9+
"libs/fuse.min.js",
910
],
1011
}

0 commit comments

Comments
 (0)