Fix redirect

This commit is contained in:
0880
2026-01-21 13:39:40 +03:30
parent fe65fafbe0
commit c455adea07

View File

@@ -331,7 +331,7 @@ def render(
def redirect(location: str): # TODO Move to another module
return Response(307, ["Location: {location}"], b"")
return Response(307, [f"Location: {location}"], b"")
def JSONAPI(func): # TODO Move to another module