-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
34 lines (34 loc) · 930 Bytes
/
vercel.json
File metadata and controls
34 lines (34 loc) · 930 Bytes
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
{
"version": 2,
"devCommand": "npm run dev",
"builds": [
{
"src": "src/server.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "src/server.js",
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"headers": {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
"Access-Control-Allow-Headers": "Content-Type, Authorization",
"Content-Security-Policy": "default-src 'none'; connect-src 'self' https:;",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"X-XSS-Protection": "1; mode=block",
"Cache-Control": "public, max-age=10, s-maxage=10"
}
}
],
"env": {
"RATE_LIMIT_WINDOW_MS": "60000",
"RATE_LIMIT_MAX": "100",
"LOG_LEVEL": "error",
"LOG_FILE": "proxy.log",
"CACHE_TTL": "10"
}
}