mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
i18n: Add i18next-http-backend to library loader
This commit is contained in:
@@ -72,6 +72,7 @@ function register(app: express.Application) {
|
||||
|
||||
// i18n
|
||||
app.use(`/${assetPath}/node_modules/i18next/`, persistentCacheStatic(path.join(srcRoot, "..", 'node_modules/i18next/')));
|
||||
app.use(`/${assetPath}/node_modules/i18next-http-backend/`, persistentCacheStatic(path.join(srcRoot, "..", 'node_modules/i18next-http-backend/')));
|
||||
app.use(`/${assetPath}/translations/`, persistentCacheStatic(path.join(srcRoot, "public", "translations/")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user