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:
parent
a29f1316fa
commit
f3b9958346
@ -1,6 +1,6 @@
|
|||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.4
|
- 1.5
|
||||||
script:
|
script:
|
||||||
- go build .
|
- go build .
|
||||||
- pwd && cd build && ./travis-build.sh
|
- pwd && cd build && ./travis-build.sh
|
||||||
|
@ -272,7 +272,7 @@ func (this *MainController) GetAllJSON() {
|
|||||||
|
|
||||||
func (this *MainController) Get() {
|
func (this *MainController) Get() {
|
||||||
if noweb := os.Getenv("NOWEB"); noweb == "1" {
|
if noweb := os.Getenv("NOWEB"); noweb == "1" {
|
||||||
this.Abort(404)
|
this.Abort("404")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.Data["Email"] = "missdeer@dfordsoft.com"
|
this.Data["Email"] = "missdeer@dfordsoft.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user