Merge pull request #31 from RiV-chain/go-webview-selector

Go webview selector
This commit is contained in:
Vadym Vikulin 2022-12-21 15:06:23 +02:00 committed by GitHub
commit ea969b4792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 90 additions and 15 deletions

View file

@ -338,7 +338,7 @@ func (a *AdminSocket) StartHttpServer(configFn string, nc *config.NodeConfig) {
}
fmt.Fprint(w, string(b[:]))
case "POST":
handlePost()
_ = handlePost()
case "PUT":
if handleDelete() == nil {
if handlePost() == nil {