forked from vaibhav4046/lacuna
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
36 lines (36 loc) · 1.46 KB
/
Copy pathvercel.json
File metadata and controls
36 lines (36 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "npm --prefix web ci && npm --prefix web run build",
"outputDirectory": "web/dist",
"functions": {
"api/index.ts": {
"includeFiles": "{artifacts/**,api/file-parser-worker.mjs}",
"maxDuration": 270
}
},
"crons": [
{ "path": "/api/cron/agents/daily", "schedule": "0 6 * * *" }
],
"rewrites": [
{ "source": "/api/(.*)", "destination": "/api/index" },
{ "source": "/mcp", "destination": "/api/index" },
{ "source": "/mcp/w/(.*)", "destination": "/api/index" },
{ "source": "/((?!api/|mcp|assets/|fonts/|favicon.svg|mark-256.png|boot.css).*)", "destination": "/index.html" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self' wss://api.elevenlabs.io; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; object-src 'none'"
},
{ "key": "X-Frame-Options", "value": "DENY" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(self), geolocation=(), payment=()" },
{ "key": "Cross-Origin-Opener-Policy", "value": "same-origin" }
]
}
]
}