Skip to content

Commit

Permalink
docker: Fix server translation initialization (closes #439)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Oct 12, 2024
1 parent 2c5a5ac commit 729a188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion start-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 729a188

Please sign in to comment.