Load static assets from Khoj server in dev environment

This commit is contained in:
Debanjum Singh Solanky 2024-08-04 04:24:09 +05:30
parent f38c072f07
commit bf71e472c4

View file

@ -14,6 +14,10 @@ const nextConfig = {
source: '/auth/:path*',
destination: 'http://localhost:42110/auth/:path*',
},
{
source: '/static/:path*',
destination: 'http://localhost:42110/static/:path*',
},
];
},
trailingSlash: true,