-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
47 lines (47 loc) · 2 KB
/
Copy pathvercel.json
File metadata and controls
47 lines (47 loc) · 2 KB
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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"rewrites": [
{
"source": "/s/:token",
"has": [
{
"type": "header",
"key": "user-agent",
"value": ".*(facebookexternalhit|Facebot|WhatsApp|Twitterbot|LinkedInBot|Slackbot|Discordbot|TelegramBot|Pinterestbot|redditbot|SkypeUriPreview|vkShare|Iframely|Embedly).*"
}
],
"destination": "https://frameset-production.up.railway.app/api/share/:token/embed"
},
{
"source": "/api/:path*",
"destination": "https://frameset-production.up.railway.app/api/:path*"
},
{ "source": "/(.*)", "destination": "/app-shell.html" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; base-uri 'self'; object-src 'none'; frame-ancestors 'none'; img-src 'self' data:; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com/gsi/style; script-src 'self' https://accounts.google.com/gsi/client; connect-src 'self' https://accounts.google.com/gsi/ https://fonts.googleapis.com https://fonts.gstatic.com https://*.ingest.sentry.io https://*.ingest.de.sentry.io; frame-src https://accounts.google.com/gsi/; form-action 'self'; worker-src 'self'; manifest-src 'self'"
},
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{
"key": "Permissions-Policy",
"value": "camera=(), microphone=(), geolocation=(), interest-cohort=()"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
},
{ "key": "X-Frame-Options", "value": "DENY" }
]
},
{
"source": "/(sw\\.js|manifest\\.webmanifest)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=0, must-revalidate" }]
}
]
}