Update directory.owncast.online -> owncast.directory (#4485)

* chore: change directory.owncast.online -> owncast.directory. For #4483

* chore: update extracted translations

---------

Co-authored-by: Owncast default web localizations <owncast@owncast.online>
This commit is contained in:
Gabe Kangas
2025-08-02 16:49:11 -07:00
committed by GitHub
co-authored by Owncast default web localizations
parent c65f11e102
commit 074bff32c1
9 changed files with 72 additions and 44 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
// MakeHashtag will create and return a mastodon toot hashtag object with the provided name.
func MakeHashtag(name string) vocab.TootHashtag {
u, _ := url.Parse("https://directory.owncast.online/tags/" + name)
u, _ := url.Parse("https://owncast.directory/tags/" + name)
hashtag := streams.NewTootHashtag()
hashtagName := streams.NewActivityStreamsNameProperty()
+1 -1
View File
@@ -229,7 +229,7 @@ func createBaseOutboundMessage(textContent string) (vocab.ActivityStreamsCreate,
// Get Hashtag HTML link for a given tag (without # prefix).
func getHashtagLinkHTMLFromTagString(baseHashtag string) string {
return fmt.Sprintf("<a class=\"hashtag\" href=\"https://directory.owncast.online/tags/%s\">#%s</a>", baseHashtag, baseHashtag)
return fmt.Sprintf("<a class=\"hashtag\" href=\"https://owncast.directory/tags/%s\">#%s</a>", baseHashtag, baseHashtag)
}
// SendToFollowers will send an arbitrary payload to all follower inboxes.