From f6cc288cd67308330a83094bc2f0b64132ad81e8 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 1 May 2023 12:25:03 -0600 Subject: Vista de proveedores --- src/clients/loaders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clients/loaders.ts') diff --git a/src/clients/loaders.ts b/src/clients/loaders.ts index 43c1581..334f8aa 100644 --- a/src/clients/loaders.ts +++ b/src/clients/loaders.ts @@ -3,7 +3,7 @@ import { ApiClient } from "./api_client"; export async function loader({ request }) { const client = new ApiClient(); const url = new URL(request.url) - const response = await client.get(url.pathname); + const response = await client.get(`${url.pathname}${url.search}`); return response; } -- cgit v1.2.3