|
@@ -237,6 +237,7 @@ func main() {
|
|
|
|
|
|
|
|
if argInfo.WebURL != "" {
|
|
if argInfo.WebURL != "" {
|
|
|
// start web
|
|
// start web
|
|
|
|
|
+ argInfo.WebURL = checkURL(argInfo.WebURL, "http")
|
|
|
etcdStore.SetMessager(storeMsg)
|
|
etcdStore.SetMessager(storeMsg)
|
|
|
go webHelper()
|
|
go webHelper()
|
|
|
go web.Start(raftServer, argInfo.WebURL)
|
|
go web.Start(raftServer, argInfo.WebURL)
|