mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 16:48:50 +00:00
fix standalone script URL.
This commit is contained in:
@@ -153,7 +153,7 @@ Please consult the tests or [the source code](https://github.com/fiatjaf/nostr-t
|
|||||||
### Using from the browser (if you don't want to use a bundler)
|
### Using from the browser (if you don't want to use a bundler)
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://unpkg.com/nostr-tools/nostr.bundle.js"></script>
|
<script src="https://unpkg.com/nostr-tools/lib/nostr.bundle.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window.NostrTools.generatePrivateKey('...') // and so on
|
window.NostrTools.generatePrivateKey('...') // and so on
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user