From 25df58ba82321aaa6617811a6995cb96c2a00a40 Mon Sep 17 00:00:00 2001 From: C4illin Date: Mon, 10 Jun 2024 23:06:26 +0200 Subject: [PATCH] fix: fix incorrect redirect issue #23 --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index c302938..62f3968 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -677,7 +677,7 @@ const app = new Elysia() }); // Redirect the client immediately - return redirect(`/results/, 302${jobId.value}`); + return redirect(`/results/${jobId.value}`, 302); }, { body: t.Object({