mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 01:34:57 +00:00
wip
This commit is contained in:
@ -24,6 +24,11 @@ document.addEventListener('alpine:init', () => {
|
||||
},
|
||||
|
||||
async login() {
|
||||
if (!window.nostr) {
|
||||
window.location = "/login";
|
||||
return;
|
||||
}
|
||||
|
||||
let pubkey = await nostr.getPublicKey();
|
||||
|
||||
let response = await fetch(`/u/${pubkey}/metadata.json`);
|
||||
|
Reference in New Issue
Block a user