mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Use 127.0.0.1 + domain header for local HTTP requests
This commit is contained in:
parent
1f13676d06
commit
f93aa40c2e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def check_changeurl_app(path):
|
|||
|
||||
assert appmap[maindomain][path + "/"]["id"] == "change_url_app"
|
||||
|
||||
r = requests.get("https://%s%s/" % (maindomain, path), verify=False)
|
||||
r = requests.get("https://127.0.0.1%s/" % path, headers={"domain": maindomain}, verify=False)
|
||||
assert r.status_code == 200
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue