mirror of
https://github.com/diced/zipline.git
synced 2025-05-10 18:05:54 +02: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',
|
destination: '/auth/register?code=:code',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
redirects: async () => [
|
||||||
|
{
|
||||||
|
source: '/r/:id',
|
||||||
|
destination: '/raw/:id',
|
||||||
|
permanent: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
webpack: (config) => {
|
webpack: (config) => {
|
||||||
config.resolve.fallback = { worker_threads: false };
|
config.resolve.fallback = { worker_threads: false };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue