15 lines
456 B
TOML
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"
|