Skip to content
Permalink
Browse files

Fixing too large static resources

  • Loading branch information...
Depado committed Feb 21, 2016
1 parent cb0cbd2 commit 75a443d37fe0ca66dfe0bca04eae4692333565a8
Showing with 2 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +1 −2 main.go
@@ -23,3 +23,4 @@ _testmain.go
*.test
*.prof
portfolio
rice-box.go
@@ -14,10 +14,9 @@ func main() {
var err error

tbox, _ := rice.FindBox("templates")
abox, _ := rice.FindBox("assets")

r := gin.Default()
if err = utils.InitAssetsTemplates(r, tbox, abox, "index.html"); err != nil {
if err = utils.InitAssetsTemplates(r, tbox, nil, "index.html"); err != nil {
log.Fatal(err)
}
r.GET("/", func(c *gin.Context) {

0 comments on commit 75a443d

Please sign in to comment.
You can’t perform that action at this time.