use correct HTTP status code to force GET requests

main
Inga 🏳‍🌈 1 month ago
parent 60eb8edbac
commit 6de3b5d48a
  1. 2
      src/backend/utils.ts

@ -36,5 +36,5 @@ export const rewriteQueryParamsWith = (req: Request, res: Response, newParams: R
newQuery.set(param, value); newQuery.set(param, value);
} }
res.redirect(`?${newQuery.toString()}`); res.redirect(303, `?${newQuery.toString()}`);
}; };

Loading…
Cancel
Save