mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
增加Docker镜像构建脚本
This commit is contained in:
@@ -22,7 +22,7 @@ func (this *IndexAction) RunGet(params struct{}) {
|
||||
currentHost = host
|
||||
}
|
||||
}
|
||||
if net.ParseIP(currentHost) != nil {
|
||||
if net.ParseIP(currentHost) != nil && currentHost != "localhost" && currentHost != "127.0.0.1" {
|
||||
this.Data["currentHost"] = currentHost
|
||||
} else {
|
||||
this.Data["currentHost"] = ""
|
||||
|
||||
Reference in New Issue
Block a user