Skip to content

Commit

Permalink
feat: add corsproxy to Thingiverse fetcha
Browse files Browse the repository at this point in the history
  • Loading branch information
seasick committed Feb 4, 2024
1 parent e4facf2 commit 5e9ba7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fetcha/thingiverse.com.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default async function thingiverseComFetcha(

// With the token we can now get the list of files
const thingResponse = await fetch(
`https://api.thingiverse.com/things/${idString}`,
'__CORSPROXY' + `https://api.thingiverse.com/things/${idString}`,
{
headers: {
Authorization: `Bearer ${token}`,
Expand Down

0 comments on commit 5e9ba7e

Please sign in to comment.