i18n: Set up client dependency to i18next

This commit is contained in:
Elian Doran
2024-07-20 09:32:56 +03:00
parent 33d6d51d59
commit 10ec7d6b2b
3 changed files with 11 additions and 1 deletions

View File

@@ -69,6 +69,8 @@ function register(app: express.Application) {
app.use(`/${assetPath}/node_modules/split.js/dist/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/split.js/dist/')));
app.use(`/${assetPath}/node_modules/panzoom/dist/`, persistentCacheStatic(path.join(srcRoot, '..', 'node_modules/panzoom/dist/')));
app.use(`/${assetPath}/node_modules/i18next/`, persistentCacheStatic(path.join(srcRoot, "..", 'node_modules/i18next/')))
}
export = {