diff --git a/apps/server/src/routes/index.ts b/apps/server/src/routes/index.ts index 2f579edaf..bd753d3af 100644 --- a/apps/server/src/routes/index.ts +++ b/apps/server/src/routes/index.ts @@ -59,7 +59,7 @@ function index(req: Request, res: Response) { triliumVersion: packageJson.version, assetPath: assetPath, appPath: appPath, - isRtl: LOCALES.find(l => l.id === options.locale)?.rtl + isRtl: !!LOCALES.find(l => l.id === options.locale)?.rtl }); }