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")