mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
fix(server): crash in prod due to RTL
This commit is contained in:
parent
b8ffb004ce
commit
c4358d52d5
@ -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…
x
Reference in New Issue
Block a user