This commit is contained in:
Andras Bacsai committed 2022-07-25 13:04:56 +00:00
1 parent 580545bb57
commit d833f33eb2
1 file changed
+2 -1
@@ -741,7 +741,8 @@ export async function getPreviews(request: FastifyRequest<OnlyId>) {
PRMRSecrets: []
}
}
const containers = JSON.parse(stdout).filter((container) => {
const jsonStdout = JSON.parse(stdout)
const containers = jsonStdout.filter((container) => {
return (
container.Labels['coolify.configuration'] &&
container.Labels['coolify.type'] === 'standalone-application'