portal: redirect to $host/yunohost/admin by default (cf recent commit in ssowat)

This commit is contained in:
Alexandre Aubin 2023-09-29 14:34:01 +02:00
parent 127b6121d1
commit 814696e9c1

View file

@ -117,6 +117,10 @@ def _get_domain_portal_dict():
out[domain] = f'{parent or domain}/yunohost/sso' out[domain] = f'{parent or domain}/yunohost/sso'
# By default, redirect to $host/yunohost/admin for domains not listed in the dict
# maybe in the future, we can allow to tweak this
out["default"] = "/yunohost/admin"
return dict(out) return dict(out)