feat: short links

This commit is contained in:
2023-03-31 10:51:50 +01:00
parent 6fe19ee29d
commit 8bd694eb15
4 changed files with 57 additions and 27 deletions

View File

@ -110,7 +110,7 @@ export default function Layout() {
if ("registerProtocolHandler" in window.navigator) {
window.navigator.registerProtocolHandler(
"web+nostr",
`${window.location.protocol}//${window.location.host}/handler/%s`
`${window.location.protocol}//${window.location.host}/%s`
);
console.info("Registered protocol handler for 'web+nostr'");
}