summaryrefslogtreecommitdiff
path: root/src/clients/loader.ts
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-04-26 21:37:38 -0600
committerHombreLaser <sebastian-440@live.com>2023-04-26 21:37:38 -0600
commitc7e493ce3d2855e61787d86714625bc7fc51f9bd (patch)
treeb7b9b97fbe26d6258a553c8dc4655d5fcf7cdb92 /src/clients/loader.ts
parent70db52d02dfe5da7397e5ba801b01739a5d0ceaa (diff)
Añade vista de producto individual
Diffstat (limited to 'src/clients/loader.ts')
-rw-r--r--src/clients/loader.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/clients/loader.ts b/src/clients/loader.ts
deleted file mode 100644
index c529806..0000000
--- a/src/clients/loader.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { ApiClient } from "./api_client";
-
-export default async function productLoader({ request }) {
- const client = new ApiClient();
- const url = new URL(request.url)
- const response = await client.get(url.pathname);
-
- return response.data;
-} \ No newline at end of file