-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathvercel.json
More file actions
18 lines (18 loc) · 871 Bytes
/
Copy pathvercel.json
File metadata and controls
18 lines (18 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "pip3 install --break-system-packages --user -r requirements.txt && python3 -m mkdocs build",
"outputDirectory": "_site",
"installCommand": "echo 'deps installed in buildCommand'",
"framework": null,
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "no-referrer" },
{ "key": "Strict-Transport-Security", "value": "max-age=31536000; includeSubDomains; preload" },
{ "key": "Content-Security-Policy", "value": "default-src 'self'; img-src 'self' data:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; connect-src 'self'; frame-ancestors 'self' https://pai.direct https://*.pai.direct" }
]
}
]
}