mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 17:56:02 +08:00
fix(monorepo/server): serving of libraries
This commit is contained in:
parent
1af338b64f
commit
ccb5ee744c
10 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ async function register(app: express.Application) {
|
|||
app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "../../client/build")));
|
||||
app.use(`/${assetPath}/app-dist`, persistentCacheStatic(path.join(srcRoot, "../../client/build")));
|
||||
app.use(`/${assetPath}/stylesheets`, persistentCacheStatic(path.join(srcRoot, "../../client/stylesheets")));
|
||||
app.use(`/${assetPath}/libraries`, persistentCacheStatic(path.join(srcRoot, "../../client/libraries")));
|
||||
} else {
|
||||
app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "public/app")));
|
||||
app.use(`/${assetPath}/app-dist`, persistentCacheStatic(path.join(srcRoot, "public/app-dist")));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue