mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-29 16:55:45 +00:00
fixed translation path to display correct error msg
This commit is contained in:
@@ -19,7 +19,7 @@ export async function initTranslation(router: Router) {
|
||||
fallbackLng: "en",
|
||||
ns,
|
||||
backend: {
|
||||
loadPath: __dirname + "/../locales/{{lng}}/{{ns}}.json"
|
||||
loadPath: __dirname + "/../../locales/{{lng}}/{{ns}}.json"
|
||||
},
|
||||
load: "all"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user