hypercore-fetch 9.0.1 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -271,7 +271,7 @@ export default async function makeHyperFetch ({
|
|
|
271
271
|
|
|
272
272
|
const drive = await getDriveFromKey(key, true)
|
|
273
273
|
|
|
274
|
-
return { body: drive.url }
|
|
274
|
+
return { body: drive.core.url }
|
|
275
275
|
})
|
|
276
276
|
router.post(`hyper://${SPECIAL_DOMAIN}/`, async function createKey (request) {
|
|
277
277
|
// TODO: Allow importing secret keys here
|