This commit is contained in:
125
vercel.json
125
vercel.json
@ -1,59 +1,68 @@
|
||||
{
|
||||
"routes": [
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"headers": {
|
||||
"Cache-Control": "s-maxage=1209600, max-age=86400, public",
|
||||
"Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload",
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
|
||||
"Access-Control-Allow-Headers": "Accept, Authorization, Cache-Control, Content-Type, DNT, If-Modified-Since, Keep-Alive, Origin, User-Agent, X-Requested-With, Token, x-access-token"
|
||||
},
|
||||
"continue": true
|
||||
},
|
||||
{
|
||||
"src": "/goto/github",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "https://github.com/186526"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/goto/telegram",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "https://t.me/real186526"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/goto/blog",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "https://blog.186526.xyz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/goto/email",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "mailto:i@186526.xyz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/generate_204",
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"X-Powered-By": "SW2Express",
|
||||
"Server": "sw=>express"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/v2/(.*)",
|
||||
"dest": "https://registry.186526.xyz/v2/$1"
|
||||
},
|
||||
{
|
||||
"src": "/shields.io/(.*)",
|
||||
"dest": "https://img.shields.io/$1"
|
||||
}
|
||||
]
|
||||
}
|
||||
"routes": [
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"headers": {
|
||||
"Cache-Control": "s-maxage=1209600, max-age=86400, public",
|
||||
"Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload",
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
|
||||
"Access-Control-Allow-Headers": "Accept, Authorization, Cache-Control, Content-Type, DNT, If-Modified-Since, Keep-Alive, Origin, User-Agent, X-Requested-With, Token, x-access-token"
|
||||
},
|
||||
"continue": true
|
||||
},
|
||||
{ "handle": "filesystem" },
|
||||
{
|
||||
"src": "/goto/github",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "https://github.com/186526"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/goto/telegram",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "https://t.me/real186526"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/goto/blog",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "https://blog.186526.xyz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/goto/email",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "mailto:i@186526.xyz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/generate_204",
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"X-Powered-By": "SW2Express",
|
||||
"Server": "sw=>express"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/v2/(.*)",
|
||||
"dest": "https://registry.186526.xyz/v2/$1"
|
||||
},
|
||||
{
|
||||
"src": "/shields.io/(.*)",
|
||||
"dest": "https://img.shields.io/$1"
|
||||
},
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"status": 302,
|
||||
"headers": {
|
||||
"Location": "/?from=$1"
|
||||
},
|
||||
"continue": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user