diff --git a/apps/server/src/routes/assets.ts b/apps/server/src/routes/assets.ts index e9218fc44..612056e9e 100644 --- a/apps/server/src/routes/assets.ts +++ b/apps/server/src/routes/assets.ts @@ -41,6 +41,7 @@ async function register(app: express.Application) { app.use(`/${assetPath}/app`, clientStaticCache); app.use(`/${assetPath}/app-dist`, clientStaticCache); app.use(`/${assetPath}/stylesheets`, persistentCacheStatic(path.join(distDir, "public", "stylesheets"))); + app.use(`/${assetPath}/libraries`, persistentCacheStatic(path.join(distDir, "public", "libraries"))); app.use(`/${assetPath}/images`, persistentCacheStatic(path.join(distDir, "assets", "images"))); } app.use(`/${assetPath}/fonts`, persistentCacheStatic(path.join(srcRoot, "public/fonts")));