fix(server): doc notes not being served in dev mode

This commit is contained in:
Elian Doran 2025-02-02 12:47:41 +02:00
parent 3911c0c22b
commit ec95f62cd2
No known key found for this signature in database

View File

@ -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")));