Skip to content

Commit

Permalink
fix: car upload example (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw authored Jun 18, 2021
1 parent 14328fa commit c6b1a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/examples/browser/car/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NFTStorage } from 'nft.storage'
import { packToBlob } from 'ipfs-car/pack/blob'

const endpoint = 'http://api.nft.storage' // the default
const endpoint = 'https://api.nft.storage' // the default
const token =
new URLSearchParams(window.location.search).get('key') || 'API_KEY' // your API key from https://nft.storage/manage

Expand Down

0 comments on commit c6b1a68

Please sign in to comment.