Compare commits
1 Commits
fe65fafbe0
...
c455adea07
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c455adea07 |
@@ -331,7 +331,7 @@ def render(
|
|||||||
|
|
||||||
|
|
||||||
def redirect(location: str): # TODO Move to another module
|
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
|
def JSONAPI(func): # TODO Move to another module
|
||||||
|
|||||||
Reference in New Issue
Block a user