diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index eb5638fe..bfd7b3d8 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -14,15 +14,15 @@ export const metadata: Metadata = { description: "由 AI 驅動的多代理 LLM 金融交易框架", icons: { icon: [ - { url: "/favicon.ico", sizes: "32x32" }, - { url: "/icon-192.png", sizes: "192x192", type: "image/png" }, - { url: "/icon-512.png", sizes: "512x512", type: "image/png" }, - { url: "/icon.png", sizes: "1024x1024", type: "image/png" }, + { url: "/favicon.ico?v=2", sizes: "32x32" }, + { url: "/icon-192.png?v=2", sizes: "192x192", type: "image/png" }, + { url: "/icon-512.png?v=2", sizes: "512x512", type: "image/png" }, + { url: "/icon.png?v=2", sizes: "1024x1024", type: "image/png" }, ], apple: [ - { url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }, + { url: "/apple-touch-icon.png?v=2", sizes: "180x180", type: "image/png" }, ], - shortcut: "/favicon.ico", + shortcut: "/favicon.ico?v=2", }, appleWebApp: { capable: true, @@ -46,15 +46,19 @@ export default function RootLayout({
- + - - - - + {/* Version parameter forces iOS Safari to reload new icons */} + + + + + + +