mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
portal: redirect to $host/yunohost/admin by default (cf recent commit in ssowat)
This commit is contained in:
parent
127b6121d1
commit
814696e9c1
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue