fix
This commit is contained in:
parent
4bcd034b3d
commit
54e0a9fc28
@ -407,20 +407,22 @@ export async function traefikConfiguration(request, reply) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let port = found.services[oneService].ports[0]
|
if (found.services[oneService].ports) {
|
||||||
const foundPortVariable = serviceSetting.find((a) => a.name.toLowerCase() === 'port')
|
let port = found.services[oneService].ports[0]
|
||||||
if (foundPortVariable) {
|
const foundPortVariable = serviceSetting.find((a) => a.name.toLowerCase() === 'port')
|
||||||
port = foundPortVariable.value
|
if (foundPortVariable) {
|
||||||
}
|
port = foundPortVariable.value
|
||||||
if (fqdn) {
|
}
|
||||||
data.services.push({
|
if (fqdn) {
|
||||||
id: oneService,
|
data.services.push({
|
||||||
configuration: {
|
id: oneService,
|
||||||
port
|
configuration: {
|
||||||
},
|
port
|
||||||
fqdn,
|
},
|
||||||
dualCerts,
|
fqdn,
|
||||||
});
|
dualCerts,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user