mirror of
https://github.com/dergigi/boris.git
synced 2025-12-19 15:44:20 +01:00
chore: update highlight alt tag domain to read.withboris.com
This commit is contained in:
@@ -75,9 +75,9 @@ export async function createHighlight(
|
|||||||
// Update the alt tag to identify Boris as the creator
|
// Update the alt tag to identify Boris as the creator
|
||||||
const altTagIndex = highlightEvent.tags.findIndex(tag => tag[0] === 'alt')
|
const altTagIndex = highlightEvent.tags.findIndex(tag => tag[0] === 'alt')
|
||||||
if (altTagIndex !== -1) {
|
if (altTagIndex !== -1) {
|
||||||
highlightEvent.tags[altTagIndex] = ['alt', 'Highlight created by Boris. readwithboris.com']
|
highlightEvent.tags[altTagIndex] = ['alt', 'Highlight created by Boris. read.withboris.com']
|
||||||
} else {
|
} else {
|
||||||
highlightEvent.tags.push(['alt', 'Highlight created by Boris. readwithboris.com'])
|
highlightEvent.tags.push(['alt', 'Highlight created by Boris. read.withboris.com'])
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add p tag (author tag) for nostr-native content
|
// Add p tag (author tag) for nostr-native content
|
||||||
|
|||||||
Reference in New Issue
Block a user