diff --git a/charm/config.yaml b/charm/config.yaml index 5947424..1efb575 100644 --- a/charm/config.yaml +++ b/charm/config.yaml @@ -37,8 +37,8 @@ options: "category": "Social", "items": [ { - "name": "Mattermost", - "url": "https://chat.charmhub.io", + "name": "Ubuntu Matrix Community", + "url": "https://matrix.to/#/#community:ubuntu.com", "target": "_blank" }, { @@ -48,4 +48,4 @@ options: } ] } - ] \ No newline at end of file + ] diff --git a/charm/src/charm.py b/charm/src/charm.py index 3b0baa7..cc86a7c 100755 --- a/charm/src/charm.py +++ b/charm/src/charm.py @@ -76,6 +76,7 @@ def __init__(self, *args): charm=self, port=self._internal_port, strip_prefix=True, + redirect_https=True, scheme=lambda: urlparse(self._internal_url).scheme, ) @@ -210,8 +211,7 @@ def _configure(self, items, push_certs: bool = False): logger.error(msg) return - if self.unit.is_leader(): - self._update_status(ActiveStatus()) + self._update_status(ActiveStatus()) def _update_pebble_layer(self) -> bool: current_layer = self.workload.get_plan() diff --git a/workload/ui/index.html b/workload/ui/index.html index ef65995..57867e6 100755 --- a/workload/ui/index.html +++ b/workload/ui/index.html @@ -61,7 +61,8 @@