From e890c0e2a8ee9db41b8ee9aaf161ad7cddb2b075 Mon Sep 17 00:00:00 2001 From: Clemens Solar Date: Tue, 16 Jan 2024 21:00:44 +0100 Subject: [PATCH] fix: add corsproxy to printables url --- src/lib/fetcha/printables.com.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/fetcha/printables.com.ts b/src/lib/fetcha/printables.com.ts index eefd318..a6e7e95 100644 --- a/src/lib/fetcha/printables.com.ts +++ b/src/lib/fetcha/printables.com.ts @@ -16,7 +16,7 @@ export default async function printablesComFetcha( const id: number = parseInt(idString, 10); const printProfileResponse = await fetch( - 'https://api.printables.com/graphql/', + 'https://corsproxy.io/?https://api.printables.com/graphql/', { headers: { Accept: 'application/json',