Skip to content

Commit

Permalink
Setup redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Jan 21, 2023
1 parent f10230d commit a74c239
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,19 @@
"api/index.js": {
"includeFiles": "views/*"
}
}
},
"redirects": [
{
"source": "/:path(.*)",
"has": [
{"type": "host", "value": "onionite.now.sh"},
{"type": "host", "value": "onionite.vercel.com"},
{"type": "host", "value": "onionite.lukechilds.co.uk"},
{"type": "host", "value": "onionite.lukechilds.co"},
{"type": "host", "value": "onionite.lu.ke"}
],
"destination": "https://onionite.net/:path*",
"permanent": true
}
]
}

1 comment on commit a74c239

@vercel
Copy link

@vercel vercel bot commented on a74c239 Jan 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.