Browse Source

fixing get config

afeiszli 4 năm trước cách đây
mục cha
commit
6de7ec4cc5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controllers/serverHttpController.go

+ 1 - 1
controllers/serverHttpController.go

@@ -51,7 +51,7 @@ func securityCheckServer(adminonly bool, next http.Handler) http.HandlerFunc {
 			return
 		} 
 		if adminonly && !isadmin && !authenticateMasterServer(authToken) {
-			returnErrorResponse(w, r, errorResponse)W
+			returnErrorResponse(w, r, errorResponse)
 			return
 		}
 		next.ServeHTTP(w, r)