-
Notifications
You must be signed in to change notification settings - Fork 0
/
now-prod.json
36 lines (36 loc) · 1002 Bytes
/
now-prod.json
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
{
"version": 2,
"name": "minelev-dashboard",
"alias": [
"dashboard.minelev.vtfk.no"
],
"scope": "vtfk",
"env": {
"NODE_ENV": "production",
"LOGS_STATS": "@minelev-prod-logs-stats-url",
"ROBOT_STATS": "@minelev-prod-robot-stats-url",
"TEST": "false"
},
"builds": [
{
"src": "next.config.js",
"use": "@now/next"
}
],
"routes": [
{
"src": "^/service-worker.js$",
"dest": "/_next/static/service-worker.js",
"headers": {
"cache-control": "public, max-age=43200, immutable",
"Service-Worker-Allowed": "/"
}
},
{"src": "/", "dest": "/index.html", "headers": {
"Content-Security-Policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https://*.vtfk.no; object-src 'none'; img-src 'self' data:; frame-ancestors 'none'",
"Strict-Transport-Security": "max-age=63072000;",
"X-Frame-Options": "DENY",
"X-Content-Type-Options": "nosniff"
}}
]
}