Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Nov 16, 2023
1 parent a20a11c commit 0579d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Binary file removed favicon.ico
Binary file not shown.
8 changes: 3 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ type Cache struct {

var (
//go:embed index.html
html []byte
//go:embed favicon.ico
favicon []byte
cache Cache
html []byte
cache Cache
)

func init() {
Expand Down Expand Up @@ -214,7 +212,7 @@ func indexHandler(c echo.Context) error {
}

func favIconHandler(c echo.Context) error {
return c.Blob(http.StatusOK, "image/x-icon", favicon)
return c.Blob(http.StatusOK, "image/x-icon", []byte{})
}

func javaScriptHandler(c echo.Context) error {
Expand Down

0 comments on commit 0579d54

Please sign in to comment.