Files
points-mall/supplied-service/netlify.toml
T
2026-07-28 10:54:47 +08:00

15 lines
456 B
TOML

[build]
command = "npm run build"
functions = "netlify/functions"
[functions]
node_bundler = "esbuild"
external_node_modules = ["@prisma/client", "@prisma/adapter-neon", "@neondatabase/serverless", "ws"]
[[headers]]
for = "/.netlify/functions/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Headers = "Content-Type, Authorization"
Access-Control-Allow-Methods = "GET, POST, PUT, PATCH, DELETE, OPTIONS"