字体加密

This commit is contained in:
2026-07-18 15:33:30 +08:00 Unverified
parent 8c8af844aa
commit ecadaaaaf1
7 changed files with 517 additions and 8 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { fileURLToPath } from "node:url";
const projectRoot = fileURLToPath(new URL("../", import.meta.url));
const distRoot = path.join(projectRoot, "dist");
const serviceWorkerPath = path.join(distRoot, "sw.js");
const precacheExtensions = new Set([".html", ".css", ".js", ".webmanifest"]);
const precacheExtensions = new Set([".html", ".css", ".js", ".webmanifest", ".woff2"]);
const precacheAssets = new Set([
"assets/campus-hero.png",
"icons/apple-touch-icon.png",