diff --git a/cmd/serverFunc.go b/cmd/serverFunc.go index 2d5b508..1a21a68 100644 --- a/cmd/serverFunc.go +++ b/cmd/serverFunc.go @@ -24,6 +24,7 @@ var ( var templateFolder embed.FS func server() { + gin.SetMode(gin.ReleaseMode) home, err := os.UserHomeDir() if err != nil { log.Printf("Error happened looking up user home directory: %v\n", err) diff --git a/cmd/templates/css/style.css b/cmd/templates/css/style.css index ce3ee9f..35265b3 100644 --- a/cmd/templates/css/style.css +++ b/cmd/templates/css/style.css @@ -25,6 +25,7 @@ img { button { background-color: #eee; border: 2px black solid; + margin-bottom: 10px; } #but:hover { diff --git a/cmd/templates/index.html b/cmd/templates/index.html index 573c272..07e25d9 100644 --- a/cmd/templates/index.html +++ b/cmd/templates/index.html @@ -14,6 +14,10 @@