Skip to content

Instantly share code, notes, and snippets.

@akhilome
Created July 4, 2020 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akhilome/ebcc2aa8b03a8377f6eff9ddaff9093b to your computer and use it in GitHub Desktop.
Save akhilome/ebcc2aa8b03a8377f6eff9ddaff9093b to your computer and use it in GitHub Desktop.
{
"version": 2,
"routes": [
{
"src": "/v1/logs/(.*)",
"dest": "src/routes/logger.route.ts?slug=$1",
"methods": ["OPTIONS", "POST", "PUT"]
},
{
"src": "/(?<slug>[^/]*)/?",
"status": 301,
"headers": { "Location": "https://0x.kizi.to/$slug" },
"methods": ["GET"]
},
{
"src": "/(.*)",
"status": 302,
"headers": { "Location": "https://kizi.to" }
}
],
"github": {
"enabled": false
},
"regions": ["dub1"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment