fix(web): unify channel icon fallbacks (#397)

This commit is contained in:
Chrys
2026-04-22 22:14:41 +08:00
committed by GitHub
parent 925fdee478
commit e1dd6e15a9
8 changed files with 66 additions and 11 deletions
+1 -3
View File
@@ -23,9 +23,7 @@ var embeddedStaticRoutes = map[string]struct {
assetPath string
contentType string
}{
"/logo.png": {assetPath: "logo.png", contentType: "image/png"},
"/channels/telegram.webp": {assetPath: "channels/telegram.webp", contentType: "image/webp"},
"/channels/feishu.png": {assetPath: "channels/feishu.png", contentType: "image/png"},
"/logo.png": {assetPath: "logo.png", contentType: "image/png"},
}
func NewEmbeddedWebHandler(log *slog.Logger) (*EmbeddedWebHandler, error) {