mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix HTTP to HTTPS URL in logs_page.py
This commit is contained in:
parent
79c536be9e
commit
c833041607
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ try:
|
|||
|
||||
current_date = datetime.now()
|
||||
resp = get(
|
||||
f"http://www.example.com{UI_URL}/logs/{first_instance}?from_date={int((current_date - timedelta(weeks=1)).timestamp())}&to_date={int((current_date - timedelta(days=1)).timestamp())}",
|
||||
f"https://www.example.com{UI_URL}/logs/{first_instance}?from_date={int((current_date - timedelta(weeks=1)).timestamp())}&to_date={int((current_date - timedelta(days=1)).timestamp())}",
|
||||
headers={"Host": "www.example.com", "User-Agent": DRIVER.execute_script("return navigator.userAgent;")},
|
||||
cookies={"session": DRIVER.get_cookies()[0]["value"]},
|
||||
verify=False,
|
||||
|
|
|
|||
Loading…
Reference in a new issue