Skip to content

Commit

Permalink
Fix p2pad hyper drive key by renaming parameter in generateHyperdrive…
Browse files Browse the repository at this point in the history
…Key (#67)

* add dscan link in explore page

* fix: rename parameter in generateHyperdriveKey to ensure correct hyper drive key generation for p2pad

* docs: remove duplicate extensions section and update the name

* docs: add DP CLI to the explore page

---------

Co-authored-by: Akhilesh Thite <[email protected]>
  • Loading branch information
akhileshthite and Akhilesh Thite authored Nov 15, 2024
1 parent dfb035d commit 336d8a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/examples/p2pad/dweb.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function uploadFile(file) {
// Construct the URL based on the protocol
let url;
if (protocol === 'hyper') {
const hyperdriveUrl = await generateHyperdriveKey('drag-and-drop');
const hyperdriveUrl = await generateHyperdriveKey('p2pad');
url = `${hyperdriveUrl}`;
} else {
url = `ipfs://bafyaabakaieac/`;
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/p2pad-code-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ async function uploadFile(file) {
// Construct the URL based on the protocol
let url;
if (protocol === 'hyper') {
const hyperdriveUrl = await generateHyperdriveKey('drag-and-drop');
const hyperdriveUrl = await generateHyperdriveKey('p2pad');
url = `${hyperdriveUrl}`;
} else {
url = `ipfs://bafyaabakaieac/`;
Expand Down
3 changes: 2 additions & 1 deletion explore.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ Feel free to [submit a pull request](https://github.com/AgregoreWeb/website/) on
- [P2Pad Code Editor](/docs/examples/p2pad/)
- [Distributed Press Social Reader](//reader.distributed.press/)
- [LLM App Generator](/docs//examples/llm-appgen/)
- [Distributed Press CLI](https://github.com/hyphacoop/distributed-press-cli/)

### Extensions:

- [DScan: Decentralized QR code generator](https://chrome.google.com/webstore/detail/dscan-decentralized-qr-co/idpfgkgogjjgklefnkjdpghkifbjenap)
- [DScan: Own Your Identity, Own Your Data](https://chrome.google.com/webstore/detail/dscan-decentralized-qr-co/idpfgkgogjjgklefnkjdpghkifbjenap)

### Blogs / Homepages

Expand Down

0 comments on commit 336d8a9

Please sign in to comment.