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:
parent
ce7ebcbe27
commit
e1905c7fb3
1 changed files with 7 additions and 0 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue