feat: 添加龙虾 favicon 并修复 middleware 路由拦截
- 创建 lib/constants/theme.ts 统一管理颜色和品牌常量 - 重构 icon.tsx 和 apple-icon.tsx 使用共享常量 - 修复 middleware matcher 排除 icon/apple-icon 路由
This commit is contained in:
@@ -4,5 +4,5 @@ import { routing } from "./i18n/routing";
|
||||
export default createMiddleware(routing);
|
||||
|
||||
export const config = {
|
||||
matcher: ["/((?!api|_next|_vercel|.*\\..*).*)"],
|
||||
matcher: ["/((?!api|_next|_vercel|icon|apple-icon|.*\\..*).*)"],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user