Switch file based redirect to rewrites.

This commit is contained in:
Mike Cao 2024-05-26 23:04:18 -07:00
parent cbd5f7b556
commit 377a22f1ea
23 changed files with 11 additions and 100 deletions

View file

@ -167,6 +167,10 @@ const config = {
source: '/telemetry.js',
destination: '/api/scripts/telemetry',
},
{
source: '/teams/:teamId/:path*',
destination: '/:path*',
},
];
},
async redirects() {