[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)
|
console.log('try ' + containerName)
|
||||||
const container = serveApps.find((c) => c.Names.includes('/' + containerName));
|
const container = serveApps.find((c) => c.Names.includes('/' + containerName));
|
||||||
console.log('found ' + container)
|
console.log('found ' + container)
|
||||||
if(container && container.State != "running") {
|
if(!container || container.State != "running") {
|
||||||
skip = true
|
skip = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.5.0-unstable22",
|
"version": "0.5.0-unstable23",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -149,7 +149,7 @@ func GetFavicon(w http.ResponseWriter, req *http.Request) {
|
||||||
if resp.StatusCode != 200 {
|
if resp.StatusCode != 200 {
|
||||||
utils.Error("FaviconFetch - " + iconURL + " - not 200 ", nil)
|
utils.Error("FaviconFetch - " + iconURL + " - not 200 ", nil)
|
||||||
continue
|
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)
|
utils.Error("FaviconFetch - " + iconURL + " - not image ", nil)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue