|
@@ -85,13 +85,11 @@ func systemIdHandlePing(w http.ResponseWriter, r *http.Request) {
|
|
w.Header().Set("Access-Control-Allow-Origin", "*")
|
|
w.Header().Set("Access-Control-Allow-Origin", "*")
|
|
w.Header().Set("Access-Control-Allow-Methods", "POST, GET, OPTIONS, PUT, DELETE")
|
|
w.Header().Set("Access-Control-Allow-Methods", "POST, GET, OPTIONS, PUT, DELETE")
|
|
w.Header().Set("Access-Control-Allow-Headers", "Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization")
|
|
w.Header().Set("Access-Control-Allow-Headers", "Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization")
|
|
- status := struct {
|
|
|
|
|
|
+ js, _ := json.Marshal(struct {
|
|
Status string
|
|
Status string
|
|
}{
|
|
}{
|
|
"OK",
|
|
"OK",
|
|
- }
|
|
|
|
-
|
|
|
|
- js, _ := json.Marshal(status)
|
|
|
|
|
|
+ })
|
|
sendJSONResponse(w, string(js))
|
|
sendJSONResponse(w, string(js))
|
|
}
|
|
}
|
|
|
|
|