[release] version 0.5.0-unstable23
This commit is contained in:
parent
a208be1c8a
commit
aa0a4f8865
|
@ -139,7 +139,7 @@ const HomePage = () => {
|
|||
console.log('try ' + containerName)
|
||||
const container = serveApps.find((c) => c.Names.includes('/' + containerName));
|
||||
console.log('found ' + container)
|
||||
if(container && container.State != "running") {
|
||||
if(!container || container.State != "running") {
|
||||
skip = true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.5.0-unstable22",
|
||||
"version": "0.5.0-unstable23",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
|
|
@ -149,7 +149,7 @@ func GetFavicon(w http.ResponseWriter, req *http.Request) {
|
|||
if resp.StatusCode != 200 {
|
||||
utils.Error("FaviconFetch - " + iconURL + " - not 200 ", nil)
|
||||
continue
|
||||
} else if !strings.Contains(resp.Header.Get("Content-Type"), "image") {
|
||||
} else if !strings.Contains(resp.Header.Get("Content-Type"), "image") && !strings.Contains(resp.Header.Get("Content-Type"), "octet-stream") {
|
||||
utils.Error("FaviconFetch - " + iconURL + " - not image ", nil)
|
||||
continue
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue