From e8bbf5041207a0514e213989a5db17356e723bf1 Mon Sep 17 00:00:00 2001 From: shinya Date: Wed, 6 Aug 2025 18:46:50 +0800 Subject: [PATCH] feat: add apple-touch-icon --- VERSION.txt | 2 +- src/app/layout.tsx | 1 + src/lib/version.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 01024e5..20295b7 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -20250806184440 \ No newline at end of file +20250806184650 \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f1e3f72..b888458 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -95,6 +95,7 @@ export default async function RootLayout({ name='viewport' content='width=device-width, initial-scale=1.0, viewport-fit=cover' /> + {/* 将配置序列化后直接写入脚本,浏览器端可通过 window.RUNTIME_CONFIG 获取 */} {/* eslint-disable-next-line @next/next/no-sync-scripts */}