From e7d852e25e199bee386a64f8f316b81da1e32d6f Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 9 Mar 2026 23:25:20 -0700 Subject: [PATCH] =?UTF-8?q?fix(mining-admin-web):=20=E7=A7=BB=E9=99=A4=20G?= =?UTF-8?q?oogle=20Fonts=20=E4=BE=9D=E8=B5=96=EF=BC=8C=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 服务器构建时无法访问 fonts.googleapis.com(ETIMEDOUT), 导致 next build 失败。移除 next/font/google 的 Inter 引入, 直接使用 Tailwind 默认系统字体栈(-apple-system, BlinkMacSystemFont, Segoe UI, Roboto 等),无需网络请求,离线构建完全可用。 Co-Authored-By: Claude Sonnet 4.6 --- frontend/mining-admin-web/src/app/layout.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/mining-admin-web/src/app/layout.tsx b/frontend/mining-admin-web/src/app/layout.tsx index b6fd0608..c6771419 100644 --- a/frontend/mining-admin-web/src/app/layout.tsx +++ b/frontend/mining-admin-web/src/app/layout.tsx @@ -1,10 +1,7 @@ import type { Metadata } from 'next'; -import { Inter } from 'next/font/google'; import './globals.css'; import { Providers } from './providers'; -const inter = Inter({ subsets: ['latin'] }); - export const metadata: Metadata = { title: '挖矿管理后台', description: '榴莲生态挖矿系统管理后台', @@ -17,7 +14,7 @@ export default function RootLayout({ }) { return ( - + {children}