Change Owncast Avatar URL for discord hooks (#2748)
/images/owncast-logo.png doesn't exist. /logo does.
This commit is contained in:
parent
ae78a7466c
commit
0f86f15efe
@ -112,7 +112,7 @@ func (n *Notifier) setupDiscord() error {
|
|||||||
if discordConfig.Enabled && discordConfig.Webhook != "" {
|
if discordConfig.Enabled && discordConfig.Webhook != "" {
|
||||||
var image string
|
var image string
|
||||||
if serverURL := data.GetServerURL(); serverURL != "" {
|
if serverURL := data.GetServerURL(); serverURL != "" {
|
||||||
image = serverURL + "/images/owncast-logo.png"
|
image = serverURL + "/logo"
|
||||||
}
|
}
|
||||||
discordNotifier, err := discord.New(
|
discordNotifier, err := discord.New(
|
||||||
data.GetServerName(),
|
data.GetServerName(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user