初次提交
Build VoiceHub FPK / build-fpk (push) Failing after 56m5s
Build and Push Docker Image / build-and-push (push) Canceled after 1h9m35s

This commit is contained in:
2026-09-06 08:19:02 +08:00
commit 4ce4649aaf
1061 changed files with 337258 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
[build]
command = "pnpm run netlify-build"
publish = "dist"
[build.environment]
NODE_VERSION = "20"
[functions]
node_bundler = "esbuild"
# 增加内存限制和超时时间
[functions."server"]
included_files = ["app/drizzle/**/*"]
external_node_modules = []
node_bundler = "esbuild"
# Nuxt 会在 dist/_redirects 中自动生成重定向规则,将请求转发到 Netlify Functions
[[headers]]
for = "/_nuxt/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[template.environment]
DATABASE_URL = "Neon数据库连接字符串,格式如:postgresql://username:password@host:port/database?sslmode=require"
JWT_SECRET = "JWT令牌签名密钥,建议使用强随机字符串"
REDIS_URL = "Redis缓存服务(可选,用于提升性能)"