-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy pathvercel.shell.json
More file actions
26 lines (26 loc) · 774 Bytes
/
vercel.shell.json
File metadata and controls
26 lines (26 loc) · 774 Bytes
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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"version": 2,
"buildCommand": "npm run build:mf:shell",
"outputDirectory": "dist-shell",
"rewrites": [
{ "source": "/((?!.*\\.[a-z0-9]+$).*)", "destination": "/index.html" }
],
"headers": [
{
"source": "/remoteEntry.js",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Cross-Origin-Resource-Policy", "value": "cross-origin" },
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }
]
},
{
"source": "/(.*)\\.js",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Cross-Origin-Resource-Policy", "value": "cross-origin" }
]
}
]
}