Change Owncast Avatar URL for discord hooks (#2748)

/images/owncast-logo.png doesn't exist. /logo does.
This commit is contained in:
Lili (Lin) Pavelů 2023-02-27 20:12:22 +01:00 committed by GitHub
parent ae78a7466c
commit 0f86f15efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ func (n *Notifier) setupDiscord() error {
if discordConfig.Enabled && discordConfig.Webhook != "" {
var image string
if serverURL := data.GetServerURL(); serverURL != "" {
image = serverURL + "/images/owncast-logo.png"
image = serverURL + "/logo"
}
discordNotifier, err := discord.New(
data.GetServerName(),