From b81448380a270a5f5d1d7fe4af39fcee5d990bee Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Fri, 9 Aug 2024 14:49:27 -0400 Subject: [PATCH] Update handleDataRequest flow --- packages/remix-server-runtime/server.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/remix-server-runtime/server.ts b/packages/remix-server-runtime/server.ts index 35c2ebfef58..6b9a724283d 100644 --- a/packages/remix-server-runtime/server.ts +++ b/packages/remix-server-runtime/server.ts @@ -214,7 +214,11 @@ export const createRequestHandler: CreateRequestHandlerFunction = ( if (isRedirectResponse(response)) { let result: SingleFetchResult | SingleFetchResults = - getSingleFetchRedirect(response.status, response.headers); + getSingleFetchRedirect( + response.status, + response.headers, + _build.basename + ); if (request.method === "GET") { result = {