Commit ba17ad4d authored by nanahira's avatar nanahira

302

parent e05c2aae
Pipeline #39284 passed with stages
in 2 minutes and 14 seconds
......@@ -30,7 +30,7 @@ async def redirect_route(route: str):
except Exception as e:
raise HTTPException(status_code=501, detail=f"Failed to retrieve redirect link: {str(e)}")
return RedirectResponse(url=redirect_link, status_code=301)
return RedirectResponse(url=redirect_link, status_code=302)
if __name__ == "__main__":
......
Markdown is supported
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