diff --git a/rust/share/agama-web-server.service b/rust/share/agama-web-server.service index b6cb252301..f11a5cf616 100644 --- a/rust/share/agama-web-server.service +++ b/rust/share/agama-web-server.service @@ -4,7 +4,7 @@ After=network-online.target agama.service [Service] Type=simple -ExecStart=/usr/bin/agama-web-server serve --address 0.0.0.0:80 --generate-token /run/agama/token +ExecStart=/usr/bin/agama-web-server serve --address 0.0.0.0:80 --address2 0.0.0.0:443 --generate-token /run/agama/token PIDFile=/run/agama/web.pid User=root TimeoutStopSec=5 diff --git a/web/src/client/l10n.js b/web/src/client/l10n.js index 78f159c4c3..c816c7d2cb 100644 --- a/web/src/client/l10n.js +++ b/web/src/client/l10n.js @@ -61,7 +61,7 @@ class L10nClient { */ async getUILocale() { const config = await this.client.get("/l10n/config"); - return config.ui_locale; + return config.uiLocale; } /**