From bf71e472c4beef761f1de942ae840eb009387a49 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 4 Aug 2024 04:24:09 +0530 Subject: [PATCH] Load static assets from Khoj server in dev environment --- src/interface/web/next.config.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/interface/web/next.config.mjs b/src/interface/web/next.config.mjs index 0feefdcf..4a72cfeb 100644 --- a/src/interface/web/next.config.mjs +++ b/src/interface/web/next.config.mjs @@ -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,