mirror of
https://github.com/zadam/trilium.git
synced 2025-10-07 22:22:44 +08:00
fix(nx/server): missing images in dist
This commit is contained in:
parent
13d9cb4679
commit
258fe2e452
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +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}/images`, persistentCacheStatic(path.join(distDir, "public", "images")));
|
||||
app.use(`/${assetPath}/images`, persistentCacheStatic(path.join(distDir, "assets", "images")));
|
||||
}
|
||||
app.use(`/${assetPath}/fonts`, persistentCacheStatic(path.join(srcRoot, "public/fonts")));
|
||||
app.use(`/assets/vX/fonts`, express.static(path.join(srcRoot, "public/fonts")));
|
||||
|
|
Loading…
Add table
Reference in a new issue