From 1eeda05bac63584b3b1ecb9a828681600e8866f4 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 8 Feb 2016 10:05:23 -0500 Subject: [PATCH] Fixed folders for static Former-commit-id: 821becb22ca90e6e106ee3ca37d2a957ac58da4b [formerly 734f56696913a4e6a5d6c183a2d7e5dadb42909a] [formerly 001ecf0c1b63cdd0ffd527cc6093e88e9c05f359 [formerly 4cc64325ba517ace0d5aeac8dc705f71b963a084 [formerly 53117ac67a439e0dc91ec7563ac2dcee57f7524b]]] Former-commit-id: 80bdc184ef293ce91481ee5dc2f74a1d79c9d445 [formerly 6be2dc2f60b942a7c1f30794205c00c268b1a1f6] Former-commit-id: 181a7e62a50fe326cb34319eebc1eb54a73d2c61 Former-commit-id: 3a455131cc4b1b441e607b247a5739707c25bc1e --- routes.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/routes.go b/routes.go index 8f60522..782f392 100644 --- a/routes.go +++ b/routes.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "html/template" "io/ioutil" "net/http" @@ -59,7 +58,6 @@ func everythingElse(c *gin.Context) { func serveStaticFile(c *gin.Context, option string) { staticFile, err := ioutil.ReadFile(path.Join(RuntimeArgs.SourcePath, "static") + option) - fmt.Println(path.Join(RuntimeArgs.SourcePath, "static")) if err != nil { c.AbortWithStatus(404) } else {