debug logs and b64 non encodable

This commit is contained in:
bel
2020-04-08 02:25:24 +00:00
parent ad31115009
commit d9b10029ae
9 changed files with 25 additions and 2 deletions

View File

@@ -5,11 +5,13 @@ import (
"local/firestormy/config"
"local/firestormy/config/ns"
"local/firestormy/scheduler"
"local/logb"
"net/http"
"strings"
)
func (s *Server) get(w http.ResponseWriter, r *http.Request) {
logb.Debugf("[access] get %s", r.URL.Path)
keys := strings.Split(r.URL.Path, "/")
key := keys[len(keys)-1]