mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-28 10:46:59 -05:00
feat: Implement Vercel serverless OG injection
This commit is contained in:
16
vercel.json
16
vercel.json
@@ -1,8 +1,20 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"destination": "/index.html"
|
||||
"source": "/api/(.*)",
|
||||
"destination": "/api/$1"
|
||||
},
|
||||
{
|
||||
"source": "/(.*\\.(?:js|css|jpg|jpeg|png|gif|svg|ico|woff|woff2|ttf|eot|webp|json|xml))$",
|
||||
"continue": true
|
||||
},
|
||||
{
|
||||
"source": "/[^.]+",
|
||||
"destination": "/api/ssrOG"
|
||||
},
|
||||
{
|
||||
"source": "/",
|
||||
"destination": "/api/ssrOG"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
|
||||
Reference in New Issue
Block a user