CONFIG.profileLinkSuffix
This commit is contained in:
parent
d9bd198e8d
commit
2c7878ac7f
@ -14,5 +14,6 @@
|
||||
"deck": true,
|
||||
"zapPool": true
|
||||
},
|
||||
"eventLinkPrefix": "nevent"
|
||||
"eventLinkPrefix": "nevent",
|
||||
"profileLinkPrefix": "nprofile"
|
||||
}
|
||||
|
@ -14,5 +14,6 @@
|
||||
"deck": true,
|
||||
"zapPool": true
|
||||
},
|
||||
"eventLinkPrefix": "note"
|
||||
"eventLinkPrefix": "note",
|
||||
"profileLinkPrefix": "npub"
|
||||
}
|
||||
|
1
packages/app/custom.d.ts
vendored
1
packages/app/custom.d.ts
vendored
@ -53,4 +53,5 @@ declare const CONFIG: {
|
||||
zapPool: boolean;
|
||||
};
|
||||
eventLinkPrefix: NostrPrefix;
|
||||
profileLinkPrefix: NostrPrefix;
|
||||
};
|
||||
|
@ -37,7 +37,7 @@ export function ProfileLink({
|
||||
return `/${username}`;
|
||||
}
|
||||
return `/${new NostrLink(
|
||||
NostrPrefix.Profile,
|
||||
CONFIG.profileLinkPrefix,
|
||||
pubkey,
|
||||
undefined,
|
||||
undefined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user