mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
docker: Fix server translation initialization (closes #439)
This commit is contained in:
parent
2c5a5acffa
commit
729a188528
@ -6,7 +6,7 @@ import sql_init from "./sql_init.js";
|
||||
export async function initializeTranslations() {
|
||||
// Initialize translations
|
||||
await i18next.use(Backend).init({
|
||||
lng: await getCurrentLanguage(),
|
||||
lng: getCurrentLanguage(),
|
||||
fallbackLng: "en",
|
||||
ns: "server",
|
||||
backend: {
|
||||
|
@ -4,4 +4,4 @@
|
||||
[ ! -z "${USER_GID}" ] && groupmod -og ${USER_GID} node || echo "No USER_GID specified, leaving 1000"
|
||||
|
||||
chown -R node:node /home/node
|
||||
exec su -c "node ./src/www" node
|
||||
exec su -c "node ./src/main" node
|
Loading…
x
Reference in New Issue
Block a user