Update src/app.py

Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
This commit is contained in:
Tagada 2024-08-15 20:41:09 +02:00 committed by GitHub
parent bc30805c7d
commit 36b9188aec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2869,7 +2869,7 @@ def _get_conflicting_apps(domain, path, ignore_app=None):
for p, a in apps_map[domain].items():
if a["id"] == ignore_app:
continue
if path == p or ( not path.startswith("/.well-known/") and path == "/" ) or ( not path.startswith("/.well-known/") and p == "/" ):
if path == p or ( not path.startswith("/.well-known/") and ( path == "/" or p == "/" ) ):
conflicts.append((p, a["id"], a["label"]))
return conflicts