CONFIG.profileLinkSuffix
This commit is contained in:
@ -14,5 +14,6 @@
|
|||||||
"deck": true,
|
"deck": true,
|
||||||
"zapPool": true
|
"zapPool": true
|
||||||
},
|
},
|
||||||
"eventLinkPrefix": "nevent"
|
"eventLinkPrefix": "nevent",
|
||||||
|
"profileLinkPrefix": "nprofile"
|
||||||
}
|
}
|
||||||
|
@ -14,5 +14,6 @@
|
|||||||
"deck": true,
|
"deck": true,
|
||||||
"zapPool": 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;
|
zapPool: boolean;
|
||||||
};
|
};
|
||||||
eventLinkPrefix: NostrPrefix;
|
eventLinkPrefix: NostrPrefix;
|
||||||
|
profileLinkPrefix: NostrPrefix;
|
||||||
};
|
};
|
||||||
|
@ -37,7 +37,7 @@ export function ProfileLink({
|
|||||||
return `/${username}`;
|
return `/${username}`;
|
||||||
}
|
}
|
||||||
return `/${new NostrLink(
|
return `/${new NostrLink(
|
||||||
NostrPrefix.Profile,
|
CONFIG.profileLinkPrefix,
|
||||||
pubkey,
|
pubkey,
|
||||||
undefined,
|
undefined,
|
||||||
undefined,
|
undefined,
|
||||||
|
Reference in New Issue
Block a user