-
Notifications
You must be signed in to change notification settings - Fork 2
/
vercel.json
39 lines (39 loc) · 809 Bytes
/
vercel.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
{
"cleanUrls": true,
"rewrites": [
{
"source": "/fetch/https:github.com/login/oauth/access_token",
"destination": "https://github.com/login/oauth/access_token"
}
],
"redirects": [
{
"source": "/(feed|atom|rss)(.xml)?",
"destination": "https://uploads.dosk.win/feed.xml"
},
{
"source": "/uploads/:file*",
"destination": "https://uploads.dosk.win/uploads/:file*"
}
],
"headers": [
{
"source": "/sw.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=0, must-revalidate"
}
]
},
{
"source": "(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, s-maxage=86400, max-age=86400"
}
]
}
]
}