mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Load static assets from Khoj server in dev environment
This commit is contained in:
parent
f38c072f07
commit
bf71e472c4
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ const nextConfig = {
|
||||||
source: '/auth/:path*',
|
source: '/auth/:path*',
|
||||||
destination: 'http://localhost:42110/auth/:path*',
|
destination: 'http://localhost:42110/auth/:path*',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
source: '/static/:path*',
|
||||||
|
destination: 'http://localhost:42110/static/:path*',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
trailingSlash: true,
|
trailingSlash: true,
|
||||||
|
|
Loading…
Reference in a new issue