mirror of https://git.envs.net/envs/ifconfig.git
(*)fixed build error
This commit is contained in:
parent
a29f1316fa
commit
f3b9958346
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue