(*)fixed build error

This commit is contained in:
Fan Yang 2015-12-27 19:00:18 +08:00
parent a29f1316fa
commit f3b9958346
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
language: go
go:
- 1.4
- 1.5
script:
- go build .
- pwd && cd build && ./travis-build.sh

View File

@ -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"