summaryrefslogtreecommitdiff
path: root/src/clients/loaders.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/loaders.ts')
-rw-r--r--src/clients/loaders.ts2
1 files changed, 1 insertions, 1 deletions
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;
}