Skip to content

Commit

Permalink
adds ssl 6
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivrij committed Oct 19, 2023
1 parent ef42902 commit 7b2fa8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/endpoints/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ async def get_status(request: Request):
https_url = request.url.replace(scheme="https")
headers = {"Location": str(https_url)}
logging.debug(f"https_url: {https_url}")
raise HTTPException(status_code=307, detail="Temporary Redirect to HTTPS", headers=headers)
return JSONResponse(content={"status": "OK"}, status_code=200, headers=headers)

0 comments on commit 7b2fa8c

Please sign in to comment.