From 8d49aca7f333a5d27ccf7f9d1fa144cfa56955d6 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 27 Mar 2023 14:43:26 -0400 Subject: [PATCH] . --- functions/v2/[[image]].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/v2/[[image]].js b/functions/v2/[[image]].js index 08eface..6aa80e3 100644 --- a/functions/v2/[[image]].js +++ b/functions/v2/[[image]].js @@ -16,7 +16,7 @@ export function onRequest(context) { // The first segment of the path is probably the user var path_split = url.pathname.split("/"); - return Response.redirect(url.pathname, 302); + return new Response(path_split); // The image name is the part between `/vx/` and the first action token var image_name = "";