-
Notifications
You must be signed in to change notification settings - Fork 0
/
now.json
37 lines (37 loc) · 1.79 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
{
"version": 2,
"public": true,
"name": "mp-ctsc-example-app.now.sh",
"alias": "mp-ctsc-example-app.now.sh",
"regions": [
"bru"
],
"builds": [
{
"src": "public/**",
"use": "@now/static"
}
],
"routes": [
{
"src": "/(.*).(js.map|js|css|txt|html|png)",
"dest": "/public/$1.$2",
"headers": {
"Cache-Control": "s-maxage=31536000,immutable"
}
},
{
"src": "/(.*)",
"dest": "/public/index.html",
"headers": {
"Cache-Control": "no-cache",
"Strict-Transport-Security": "max-age=31536000",
"X-XSS-Protection": "1; mode=block",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Referrer-Policy": "same-origin",
"Content-Security-Policy": "default-src 'none'; script-src 'self' storage.googleapis.com/mc-production-eu/ storage.googleapis.com/mc-production-us/ storage.googleapis.com/mc-production-asia/ www.googletagmanager.com/gtm.js www.google-analytics.com/analytics.js 'sha256-iCsbBoM8bmUkPtv6ycSYza0igOOTRcTlRPlJQRsSWb4=' 'sha256-10kKQEp2S6U/f4Jjk+THj3d4b9c1/YDfYO5CUs5deBk=' 'sha256-+zmDlARHH9IeIW4oXbngmeGK2KbqTO503+bWqHIl2To=' mp-ctsc-example-app.now.sh; connect-src 'self' mc-api.commercetools.com mc-api.commercetools.co app.launchdarkly.com clientstream.launchdarkly.com events.launchdarkly.com app.getsentry.com sentry.io www.google-analytics.com mp-ctsc-example-app.now.sh mc-api.commercetools.co mc-api.us-central1.gcp.commercetools.com; img-src * data:; style-src 'self' fonts.googleapis.com data: storage.googleapis.com/mc-production-eu/ storage.googleapis.com/mc-production-us/ storage.googleapis.com/mc-production-asia/ 'unsafe-inline' mp-ctsc-example-app.now.sh; font-src 'self' fonts.gstatic.com data:; upgrade-insecure-requests "
}
}
]
}