mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix change_url too
This commit is contained in:
parent
616b0d020b
commit
412c656a9b
1 changed files with 2 additions and 3 deletions
|
@ -1284,7 +1284,7 @@ def app_checkurl(auth, url, app=None):
|
|||
|
||||
logger.error("Packagers /!\\ : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !")
|
||||
|
||||
from yunohost.domain import domain_list
|
||||
from yunohost.domain import domain_list, _normalize_domain_path
|
||||
|
||||
if "https://" == url[:8]:
|
||||
url = url[8:]
|
||||
|
@ -1298,8 +1298,7 @@ def app_checkurl(auth, url, app=None):
|
|||
path = url[url.index('/'):]
|
||||
installed = False
|
||||
|
||||
if path[-1:] != '/':
|
||||
path = path + '/'
|
||||
domain, path = _normalize_domain_path(domain, path)
|
||||
|
||||
apps_map = app_map(raw=True)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue