From 654d7fd646187521ff9570a9df3cb3ba8b7891c7 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 12 Jun 2026 13:10:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=87=BA=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + Makefile | 2 +- frontend/app/icon.tsx | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 34ea6e08..fa108dd9 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ s3_cache /frontend/out/ /.idea/ /uploads/ +/*-source/ diff --git a/Makefile b/Makefile index c92dfcd6..675fae86 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ build-test: @echo "==> Running frontend and backend build tests in parallel..." @PIDS=""; \ STATUS=0; \ - ( cd frontend && pnpm build 2>&1 | sed 's/^/[frontend] /' ) & PIDS="$$PIDS $$!"; \ + ( cd frontend && pnpm build:embed 2>&1 | sed 's/^/[frontend] /' ) & PIDS="$$PIDS $$!"; \ ( go test ./... && go build -o /dev/null ./... 2>&1 | sed 's/^/[backend] /' ) & PIDS="$$PIDS $$!"; \ for PID in $$PIDS; do \ wait $$PID || STATUS=1; \ diff --git a/frontend/app/icon.tsx b/frontend/app/icon.tsx index 3dca5dcc..fcaaf8ba 100644 --- a/frontend/app/icon.tsx +++ b/frontend/app/icon.tsx @@ -1,6 +1,8 @@ import {ImageResponse} from 'next/og' import {WavesIcon} from 'lucide-react' +export const dynamic = 'force-static' + export const size = { width: 32, height: 32,