diff --git a/main.go b/main.go index 583a283..f60a9a6 100644 --- a/main.go +++ b/main.go @@ -96,6 +96,7 @@ func run() { // static files router.LoadHTMLGlob("public/*.html") + router.StaticFile("/logo.png", "public/logo.png") router.GET("/", func(context *gin.Context) { context.HTML(http.StatusOK, "index.html", gin.H{ diff --git a/public/index.html b/public/index.html index aef4a71..69fb7c3 100644 --- a/public/index.html +++ b/public/index.html @@ -19,7 +19,7 @@
- +