mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
feat: rewrite notification system and telegram interactive bot
This commit is contained in:
1 parent
c606fd99f6
commit
3319d7344f
11 files changed
+387
-26
No files matched your search
@@ -111,8 +111,8 @@ func updateConfig(c *gin.Context) (any, error) {
|
||||
singleton.Conf.CustomLogo = sf.CustomLogo
|
||||
singleton.Conf.CustomDescription = sf.CustomDescription
|
||||
singleton.Conf.CustomLinks = sf.CustomLinks
|
||||
singleton.Conf.BackgroundImageDay = sf.BackgroundImageDay
|
||||
singleton.Conf.BackgroundImageNight = sf.BackgroundImageNight
|
||||
singleton.Conf.TelegramBotToken = sf.TelegramBotToken
|
||||
singleton.Conf.TelegramAdminChatID = sf.TelegramAdminChatID
|
||||
|
||||
if err := singleton.Conf.Save(); err != nil {
|
||||
return nil, newGormError("%v", err)
|
||||
|
||||
Reference in new issue
Block a user