diff --git a/.travis.yml b/.travis.yml index 04431ed..b5891fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: -- 1.4 +- 1.5 script: - go build . - pwd && cd build && ./travis-build.sh diff --git a/controllers/default.go b/controllers/default.go index deefa03..224a186 100644 --- a/controllers/default.go +++ b/controllers/default.go @@ -272,7 +272,7 @@ func (this *MainController) GetAllJSON() { func (this *MainController) Get() { if noweb := os.Getenv("NOWEB"); noweb == "1" { - this.Abort(404) + this.Abort("404") return } this.Data["Email"] = "missdeer@dfordsoft.com"