From c455adea0704e15398a9035beef13bd664457851 Mon Sep 17 00:00:00 2001 From: 0880 <98263509+0880880@users.noreply.github.com> Date: Wed, 21 Jan 2026 13:39:40 +0330 Subject: [PATCH] Fix redirect --- slow/slow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slow/slow.py b/slow/slow.py index 4eee55a..5fccceb 100644 --- a/slow/slow.py +++ b/slow/slow.py @@ -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