Skip to content

Build your personal knowledge base with Trilium Notes

feat(share): pass t for translations

Elian Doranb81be8f8d74a
diff --git a/apps/server/src/share/routes.ts b/apps/server/src/share/routes.ts
index ee36621ed8..4d744ec5a7 100644
--- a/apps/server/src/share/routes.ts
+++ b/apps/server/src/share/routes.ts
@@ -167,7 +167,8 @@ function register(router: Router) {
subRoot,
assetPath: isDev ? assetPath : `../${assetPath}`,
appPath: isDev ? appPath : `../${appPath}`,
- showLoginInShareTheme
+ showLoginInShareTheme,
+ t
};
let useDefaultView = true;