1
0
mirror of https://git.envs.net/envs/ifconfig synced 2024-11-22 09:51:57 +01:00

(*)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

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

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