1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00

feat: add a redirect for old /r/ urls

This commit is contained in:
diced 2025-02-16 22:11:40 -08:00
parent ce7ebcbe27
commit e1905c7fb3
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -7,6 +7,13 @@ const nextConfig = {
destination: '/auth/register?code=:code',
},
],
redirects: async () => [
{
source: '/r/:id',
destination: '/raw/:id',
permanent: true,
},
],
webpack: (config) => {
config.resolve.fallback = { worker_threads: false };