This commit is contained in:
unknown 2021-10-04 16:15:17 +02:00
parent 6a6f1750b1
commit 1625932e52
2 changed files with 8 additions and 3 deletions

View file

@ -95,7 +95,12 @@ exports.getApps = asyncWrapper(async (req, res, next) => {
for (let i = 0; i < labels['flame.name'].split(';').length; i++) {
const names = labels['flame.name'].split(';');
const urls = labels['flame.url'].split(';');
const icons = labels['flame.icon'].split(';');
let icons = '';
if ('flame.icon' in labels) {
icons = labels['flame.icon'].split(';');
}
dockerApps.push({
name: names[i] || names[0],
url: urls[i] || urls[0],

View file

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
flame:
image: pawelmalak/flame