From d8275e7ea88631100ea57853613400c729c806ff Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 17 Feb 2026 18:24:25 +0200 Subject: [PATCH] fix(server): in-app help not working in dev mode --- apps/server/src/routes/assets.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/server/src/routes/assets.ts b/apps/server/src/routes/assets.ts index c68b64bc18..a6efe543b0 100644 --- a/apps/server/src/routes/assets.ts +++ b/apps/server/src/routes/assets.ts @@ -38,8 +38,8 @@ async function register(app: express.Application) { base: `/${assetUrlFragment}/` }); app.use(`/${assetUrlFragment}/`, (req, res, next) => { - if (req.url.startsWith("/images/")) { - // Images are served as static assets from the server. + if (req.url.startsWith("/images/") || req.url.startsWith("/doc_notes/")) { + // Images and doc notes are served as static assets from the server. next(); return; }