mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-08 00:26:37 +08:00
修复导出编译问题
This commit is contained in:
@@ -55,3 +55,4 @@ s3_cache
|
|||||||
/frontend/out/
|
/frontend/out/
|
||||||
/.idea/
|
/.idea/
|
||||||
/uploads/
|
/uploads/
|
||||||
|
/*-source/
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ build-test:
|
|||||||
@echo "==> Running frontend and backend build tests in parallel..."
|
@echo "==> Running frontend and backend build tests in parallel..."
|
||||||
@PIDS=""; \
|
@PIDS=""; \
|
||||||
STATUS=0; \
|
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 $$!"; \
|
( go test ./... && go build -o /dev/null ./... 2>&1 | sed 's/^/[backend] /' ) & PIDS="$$PIDS $$!"; \
|
||||||
for PID in $$PIDS; do \
|
for PID in $$PIDS; do \
|
||||||
wait $$PID || STATUS=1; \
|
wait $$PID || STATUS=1; \
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import {ImageResponse} from 'next/og'
|
import {ImageResponse} from 'next/og'
|
||||||
import {WavesIcon} from 'lucide-react'
|
import {WavesIcon} from 'lucide-react'
|
||||||
|
|
||||||
|
export const dynamic = 'force-static'
|
||||||
|
|
||||||
export const size = {
|
export const size = {
|
||||||
width: 32,
|
width: 32,
|
||||||
height: 32,
|
height: 32,
|
||||||
|
|||||||
Reference in New Issue
Block a user