mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:56:38 +08:00
fix(server): crash in prod due to RTL
This commit is contained in:
parent
b8ffb004ce
commit
c4358d52d5
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ function index(req: Request, res: Response) {
|
||||||
triliumVersion: packageJson.version,
|
triliumVersion: packageJson.version,
|
||||||
assetPath: assetPath,
|
assetPath: assetPath,
|
||||||
appPath: appPath,
|
appPath: appPath,
|
||||||
isRtl: LOCALES.find(l => l.id === options.locale)?.rtl
|
isRtl: !!LOCALES.find(l => l.id === options.locale)?.rtl
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue