-
Notifications
You must be signed in to change notification settings - Fork 0
/
now.json
57 lines (57 loc) · 2.19 KB
/
now.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"version": 2,
"name": "cool-camper",
"alias": ["coolcamper.ro"],
"builds": [
{ "src": "api/index.js", "use": "@now/node-server" },
{
"src": "./build/**",
"use": "@now/static"
}
],
"routes": [
{ "src": "/api/(.*)", "dest": "/api" },
{
"src": "^/static/(.*)",
"dest": "build/static/$1",
"headers": {
"cache-control": "max-age=315360000"
}
},
{ "src": "^/robots.txt", "dest": "build/robots.txt" },
{ "src": "^/sitemap.xml", "dest": "build/sitemap.xml" },
{ "src": "^/favicon.ico", "dest": "build/favicon.ico" },
{ "src": "^/og-image.jpg", "dest": "build/og-image.jpg" },
{ "src": "^/apple-touch-icon(.*)", "dest": "build/apple-touch-icon$1" },
{ "src": "^/android-chrome(.*)", "dest": "build/android-chrome$1" },
{ "src": "^/mstile-(.*)", "dest": "build/mstile-$1" },
{ "src": "^/favicon-32x32.png", "dest": "build/favicon-32x32.png" },
{ "src": "^/favicon-16x16.png", "dest": "build/favicon-16x16.png" },
{ "src": "^/site.webmanifest", "dest": "build/site.webmanifest" },
{ "src": "^/safari-pinned-tab.svg", "dest": "build/safari-pinned-tab.svg" },
{ "src": "^/manifest.json", "dest": "build/manifest.json" },
{ "src": "/browserconfig.xml", "dest": "build/browserconfig.xml" },
{
"src": "/googlee097d0a204b5af8e.html",
"dest": "build/googlee097d0a204b5af8e.html"
},
{ "src": "^/asset-manifest.json", "dest": "build/asset-manifest.json" },
{ "src": "^/manifest.json", "dest": "build/manifest.json" },
{
"src": "^/service-worker.js",
"headers": { "cache-control": "s-maxage=0" },
"dest": "build/service-worker.js"
},
{ "src": "^/precache-manifest.(.*)", "dest": "build/precache-manifest.$1" },
{
"src": "^/(covid-19|rezervare-autorulota|detalii-tehnice-autorulota|anulare-rezervare|politica-de-confidentialitate|termeni-si-conditii|politica-de-cookies)$",
"dest": "build/$1/index.html"
},
{ "src": "^/$", "dest": "build/index.html" },
{ "src": "^/(.*)", "dest": "build/404.html" }
],
"env": {
"AUTOMATION_EMAIL_ADDRESS": "@automation-email-address",
"AUTOMATION_EMAIL_PASSWORD": "@automation-email-password"
}
}