From 6de3b5d48a70ae11c3518bcb28863ac418194924 Mon Sep 17 00:00:00 2001 From: Inga Date: Mon, 23 Dec 2024 01:51:40 +0000 Subject: [PATCH] use correct HTTP status code to force GET requests --- src/backend/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils.ts b/src/backend/utils.ts index c97040f..7af59a5 100644 --- a/src/backend/utils.ts +++ b/src/backend/utils.ts @@ -36,5 +36,5 @@ export const rewriteQueryParamsWith = (req: Request, res: Response, newParams: R newQuery.set(param, value); } - res.redirect(`?${newQuery.toString()}`); + res.redirect(303, `?${newQuery.toString()}`); };