Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 846037b

Browse files
author
Noah Hanjun Lee
authored
Fix the route for logo static (#156)
1 parent 76ee167 commit 846037b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/server/router.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ func NewRouter(c *RouterConfig) *gin.Engine {
242242
r.StaticFile("/favicon.ico", "./favicon.ico")
243243
r.StaticFile("/manifest.json", "./manifest.json")
244244
r.StaticFile("/robots.txt", "./robots.txt")
245+
r.StaticFile("/logo192.png", "./logo192.png")
245246
r.Static("/static", "./static")
246247
if _, err := os.Stat("./index.html"); err == nil {
247248
r.NoRoute(w.IndexHTML)

0 commit comments

Comments
 (0)