mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
testing
This commit is contained in:
1 parent
6950c8a703
commit
8a28471cbe
1 file changed
+1
-10
@@ -10,16 +10,7 @@ const path = '.vercel/output/config.json'
|
||||
const config = JSON.parse(readFileSync(path, 'utf-8'))
|
||||
|
||||
config.routes = [
|
||||
{
|
||||
src: `${base}/assets/(.*)`,
|
||||
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
||||
},
|
||||
{ src: `${base}/api/(.*)`, dest: '/__server' },
|
||||
{ src: `${base}/_serverFn/(.*)`, dest: '/__server' },
|
||||
// Explicitly exclude assets with a separate rule BEFORE the catch-all
|
||||
{ src: `${base}/assets/(.*)`, dest: `${base}/assets/$1` },
|
||||
// Catch-all — no negative lookahead needed since assets is handled above
|
||||
{ src: `${base}(/.*)?`, dest: `${base}/_shell.html` },
|
||||
{ src: '/dashboard/organizations', dest: '/dashboard/_shell.html' },
|
||||
{ handle: 'filesystem' },
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user