From c4358d52d572774655489a8cc51d2a8c787c941b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 8 Oct 2025 21:28:41 +0300 Subject: [PATCH] fix(server): crash in prod due to RTL --- apps/server/src/routes/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }); }