Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: versions

Andras Bacsai95832d34f711
diff --git a/prisma/seed.cjs b/prisma/seed.cjs
index 6dfa030d34..fb30b0c2ec 100644
--- a/prisma/seed.cjs
+++ b/prisma/seed.cjs
@@ -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`);