Merge pull request #441 from coollabsio/next

fix: versions
This commit is contained in:
Andras Bacsai 2022-05-31 22:18:16 +02:00 committed by GitHub
commit d9489a2cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,8 @@ async function main() {
}
});
}
if (compare('2.9.2', version) >= 0) {
const versions = ['2.9.2', '2.9.3'];
if (versions.includes(version)) {
// Force stop Coolify Proxy, as it had a bug in < 2.9.2. TrustProxy + api.insecure
try {
await asyncExecShell(`docker stop -t 0 coolify-proxy && docker rm coolify-proxy`);