Skip to content

Commit

Permalink
cleanup debug print line (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm authored Mar 4, 2020
1 parent 881dc9f commit 29ef52b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion static.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ func (s *staticManager) Serve(ctx *Context) error {

// Serve directory
if fi.Mode().IsDir() && ctx.route.ListDir {
fmt.Println("here 1")
// redirect if the directory name doesn't end in a slash
if ctx.Req.Path[len(ctx.Req.Path)-1] != '/' {
ctx.Log().Debugf("redirecting to dir: %s", ctx.Req.Path+"/")
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
package aah

// Version no. of aah framework
const Version = "0.12.4"
const Version = "0.12.5"

0 comments on commit 29ef52b

Please sign in to comment.