mirror of
https://github.com/elder-plinius/LEAKHUB.git
synced 2026-02-12 16:52:53 +00:00
19 lines
396 B
TOML
19 lines
396 B
TOML
[build]
|
|
publish = "."
|
|
functions = "api"
|
|
|
|
[build.environment]
|
|
NODE_VERSION = "18"
|
|
|
|
[[redirects]]
|
|
from = "/api/*"
|
|
to = "/.netlify/functions/serverless"
|
|
status = 200
|
|
|
|
[[headers]]
|
|
for = "/api/*"
|
|
[headers.values]
|
|
Access-Control-Allow-Origin = "*"
|
|
Access-Control-Allow-Methods = "GET, POST, PUT, DELETE, OPTIONS"
|
|
Access-Control-Allow-Headers = "Content-Type, Authorization"
|