-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathvercel.json
More file actions
22 lines (22 loc) · 1.18 KB
/
vercel.json
File metadata and controls
22 lines (22 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"buildCommand": "npm run docs:build",
"outputDirectory": ".",
"routes": [
{
"src": "/(.*)",
"headers": {
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval' https://umami-iota-olive.vercel.app; style-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self' https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://*.onion http://*.onion; img-src 'self' data: blob:; worker-src 'self' blob:; manifest-src 'self'; frame-src 'none'; object-src 'none'; base-uri 'self'",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Referrer-Policy": "strict-origin-when-cross-origin",
"Permissions-Policy": "camera=(), microphone=(), geolocation=()",
"Onion-Location": "http://iobqafpywmncin7m2wpvbemouvulaeb7jnvtvugxnru4gpneushb5jyd.onion/$1"
},
"continue": true
},
{ "src": "^/guide/(.*)", "status": 301, "headers": { "Location": "/docs/guide/$1" } },
{ "src": "^/docs/?$", "dest": "/dist-docs/index.html" },
{ "src": "^/docs/(.+)\\.(.+)$", "dest": "/dist-docs/$1.$2" },
{ "src": "^/docs/(.+?)/?$", "dest": "/dist-docs/$1.html" }
]
}