From ec95f62cd24a3489325b327b280779678214e8bb Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 2 Feb 2025 12:47:41 +0200 Subject: [PATCH] fix(server): doc notes not being served in dev mode --- src/routes/assets.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/assets.ts b/src/routes/assets.ts index 959de788b..e76f0fc88 100644 --- a/src/routes/assets.ts +++ b/src/routes/assets.ts @@ -31,6 +31,7 @@ async function register(app: express.Application) { target: productionConfig.target }); + app.use(`/${assetPath}/app/doc_notes`, persistentCacheStatic(path.join(srcRoot, "public/app/doc_notes"))); app.use(`/${assetPath}/app`, webpackMiddleware(frontendCompiler)); } else { app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "public/app")));