From b1b0830cf604155bc1271132e68bf6e0b4998b17 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 16 四月 2020 15:14:48 +0800
Subject: [PATCH] fix verification ui/html
---
controllers/swfsControllers.go | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/controllers/swfsControllers.go b/controllers/swfsControllers.go
index 09138f4..c479112 100644
--- a/controllers/swfsControllers.go
+++ b/controllers/swfsControllers.go
@@ -186,7 +186,7 @@
resStatu := false
switch startupItem {
case StartScriptAsVolume:
- verificationVolumeUrl := "http://" + ip + ":6700"
+ verificationVolumeUrl := "http://" + ip + ":6700/ui/index.html"
_, volume1Err := http.Get(verificationVolumeUrl)
if volume1Err == nil {
resStatu = true
@@ -199,7 +199,7 @@
}
case StartScriptAsMaVo:
verificationMasterUrl := "http://" + ip + ":6333"
- verificationVolumeUrl := "http://" + ip + ":6700"
+ verificationVolumeUrl := "http://" + ip + ":6700/ui/index.html"
_, masterErr := http.Get(verificationMasterUrl)
_, volume1Err := http.Get(verificationVolumeUrl)
if masterErr == nil && volume1Err == nil {
--
Gitblit v1.8.0