Use hostname in client tag

This commit is contained in:
Alex Gleason 2025-06-02 22:05:03 -05:00
parent a8163d7a6c
commit 1617d80ece
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

View File

@ -16,8 +16,7 @@ export function useNostrPublish(): UseMutationResult<NostrEvent> {
// Add the client tag if it doesn't exist
if (!tags.some((tag) => tag[0] === "client")) {
// FIXME: Replace "mkstack" with the actual client name
tags.push(["client", "mkstack"]);
tags.push(["client", location.hostname]);
}
const event = await user.signer.signEvent({