feat: Add entitlement middleware, root layout, and PWA assets for the frontend.

This commit is contained in:
2569718930@qq.com
2026-03-12 03:05:11 +08:00
parent f065b67605
commit b4d38590e1
11 changed files with 278 additions and 0 deletions
+4
View File
@@ -6,6 +6,10 @@ function isStaticAsset(pathname: string) {
return (
pathname.startsWith("/_next/") ||
pathname.startsWith("/favicon") ||
pathname === "/apple-touch-icon.png" ||
pathname === "/manifest.webmanifest" ||
pathname === "/site.webmanifest" ||
pathname.startsWith("/android-chrome-") ||
pathname.startsWith("/robots.txt") ||
pathname.startsWith("/sitemap.xml") ||
pathname.startsWith("/icons/") ||