From 87d199efdf69d6d58c476b45f10ea09af5802405 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Mon, 3 Apr 2023 22:01:49 +0000 Subject: [PATCH] Forgot to replace the first redirect occurence. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4883038..42798a0 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,7 @@ app = FastAPI() def read_root(): return {"Response": "Hello World"} -@app.get("/redirect") +@app.get("/random") def redirect(): # get GotHub instances json from codeberg r = requests.get("https://codeberg.org/gothub/gothub-instances/raw/branch/master/instances.json")