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.

refactor: Remove unnecessary network cleanup in Init.php

Andras Bacsai8dc26a18d83f
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.php
index 30d761a10e..7bfd1a14ff 100644
--- a/app/Console/Commands/Init.php
+++ b/app/Console/Commands/Init.php
@@ -132,6 +132,9 @@ class Init extends Command
private function cleanup_unused_network_from_coolify_proxy()
{
+ if (isCloud()) {
+ return;
+ }
foreach ($this->servers as $server) {
if (! $server->isFunctional()) {
continue;