Skip to content

Commit 288983c

Browse files
Merge pull request #99 from MobileByteLabs/development
Promote development → main (bom1 region)
2 parents b4cd615 + 3d78476 commit 288983c

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

‎dashboard/vercel.json‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"regions": ["bom1"],
4+
"headers": [
5+
{
6+
"source": "/(.*)",
7+
"headers": [
8+
{ "key": "X-Frame-Options", "value": "DENY" },
9+
{ "key": "X-Content-Type-Options", "value": "nosniff" },
10+
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
11+
{
12+
"key": "Permissions-Policy",
13+
"value": "camera=(), microphone=(), geolocation=()"
14+
}
15+
]
16+
},
17+
{
18+
"source": "/api/(.*)",
19+
"headers": [
20+
{ "key": "Cache-Control", "value": "no-store, max-age=0" }
21+
]
22+
}
23+
],
24+
"redirects": [
25+
{
26+
"source": "/app",
27+
"destination": "/dashboard",
28+
"permanent": false
29+
}
30+
]
31+
}

‎infra/vercel.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"buildCommand": "pnpm --filter dashboard build",
44
"outputDirectory": "dashboard/.next",
55
"framework": "nextjs",
6-
"regions": ["iad1"],
6+
"regions": ["bom1"],
77
"headers": [
88
{
99
"source": "/(.*)",

0 commit comments

Comments
 (0)