From 9595c2b9d755eb8b5d3d15015425abef60b502f2 Mon Sep 17 00:00:00 2001 From: creme Date: Sat, 5 Oct 2019 18:47:27 +0200 Subject: more changes for envs --- fhost.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fhost.py b/fhost.py index e974821..b5d160c 100755 --- a/fhost.py +++ b/fhost.py @@ -136,7 +136,7 @@ def shorten(url): gopher = "gopher://" length = len(gopher) if url[:length] == gopher: - url = "https://gopher.tilde.team/{}".format(url[length:]) + url = "https://gopher.envs.net/{}".format(url[length:]) if len(url) > app.config["MAX_URL_LENGTH"]: abort(414) @@ -243,7 +243,7 @@ def store_url(url, addr): gopher = "gopher://" length = len(gopher) if url[:length] == gopher: - url = "https://gopher.tilde.team/{}".format(url[length:]) + url = "https://gopher.envs.net/{}".format(url[length:]) if is_fhost_url(url): return segfault(508) @@ -461,13 +461,15 @@ please allow up to 24 hours for a response. -- cgit