Started reworking skaldctl. Give room status along with room name.
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ func apiHallHandler(w http.ResponseWriter, r *http.Request, pth string) {
|
||||
first, kind, rest := splitPath(pth)
|
||||
g := ""
|
||||
if first != "" {
|
||||
g = first[1:]
|
||||
g = strings.TrimSuffix(first[1:], "/")
|
||||
}
|
||||
if g == "" && kind == "" {
|
||||
if apiCORS(w, r, "HEAD, GET") {
|
||||
|
||||
Reference in New Issue
Block a user