diff --git a/apps/server/src/routes/assets.ts b/apps/server/src/routes/assets.ts index 306141966..cfcd1cc0f 100644 --- a/apps/server/src/routes/assets.ts +++ b/apps/server/src/routes/assets.ts @@ -19,7 +19,7 @@ async function register(app: express.Application) { const srcRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), ".."); if (isDev) { app.use(`/${assetPath}/app/doc_notes`, persistentCacheStatic(path.join(srcRoot, "public/app/doc_notes"))); - app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "../client/build"))); + app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "../../client/build"))); } else { app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "public/app"))); }