mirror of
https://github.com/diced/zipline.git
synced 2025-12-12 15:50:11 -08:00
feat: add a redirect for old /r/ urls
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user