fix search paths for root+
This commit is contained in:
@@ -50,7 +50,7 @@ func Refresh() {
|
||||
panic(len(bs))
|
||||
}
|
||||
|
||||
Root = as.Get("root").GetString()
|
||||
Root = strings.TrimSuffix(as.Get("root").GetString(), "/")
|
||||
Port = ":" + strings.TrimPrefix(as.Get("port").GetString(), ":")
|
||||
Head = string(bs[0])
|
||||
Foot = string(bs[1])
|
||||
|
||||
Reference in New Issue
Block a user