Skip to content

Commit

Permalink
Dropped Go 1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Jan 29, 2016
1 parent 5739945 commit 4f57798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.4
- 1.5
- tip
before_install:
- go get github.com/modocache/gover
Expand Down
3 changes: 2 additions & 1 deletion echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"io"
"net/http"
"path"
"path/filepath"
"reflect"
"runtime"
Expand Down Expand Up @@ -423,7 +424,7 @@ func (e *Echo) serveFile(dir, file string, c Context) (err error) {
d := f

// Index file
file = filepath.Join(file, indexPage)
file = path.Join(file, indexPage)
f, err = fs.Open(file)
if err != nil {
if e.autoIndex {
Expand Down

0 comments on commit 4f57798

Please sign in to comment.