Commit 34fef52e authored by Nane Kratzke's avatar Nane Kratzke
Browse files

allow redirects

parent 0a183c08
......@@ -32,7 +32,8 @@ def index():
def hip():
r = ""
try:
r = requests.get(f"http://{service}-{tier + 1}").content
r = requests.get(f"http://{service}-{tier + 1}", allow_redirects=True).content
print(r)
r = f"-{r}"
except Exception as ex:
print(ex)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment