[release] version 0.5.0-unstable23

This commit is contained in:
Yann Stepienik 2023-05-16 23:49:28 +01:00
parent a208be1c8a
commit aa0a4f8865
3 changed files with 3 additions and 3 deletions

View file

@ -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
}
}

View file

@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.5.0-unstable22",
"version": "0.5.0-unstable23",
"description": "",
"main": "test-server.js",
"bugs": {

View file

@ -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 {