mirror of
https://github.com/zadam/trilium.git
synced 2026-02-21 13:14:26 +01:00
fix(standalone): wrong server translation path in production
This commit is contained in:
parent
0cfd6bae0e
commit
788eaad61c
@ -8,7 +8,7 @@ export default async function translationProvider(locale: LOCALE_IDS) {
|
||||
fallbackLng: "en",
|
||||
ns: "server",
|
||||
backend: {
|
||||
loadPath: "server-assets/translations/{{lng}}/{{ns}}.json"
|
||||
loadPath: `${import.meta.resolve("../server-assets/translations")}/{{lng}}/{{ns}}.json`
|
||||
},
|
||||
returnEmptyString: false,
|
||||
debug: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user