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.

chore: Remove unnecessary null check for proxy_type in generate_default_proxy_configuration

Andras Bacsaib5a56892fdcf
diff --git a/bootstrap/helpers/proxy.php b/bootstrap/helpers/proxy.php
index 127404d4b6..c4c15b8fe4 100644
--- a/bootstrap/helpers/proxy.php
+++ b/bootstrap/helpers/proxy.php
@@ -137,8 +137,6 @@ function generate_default_proxy_configuration(Server $server)
'external' => true,
];
});
- // TODO: This should not be null on new servers, but it is.
- ray($proxy_type);
if ($proxy_type === ProxyTypes::TRAEFIK->value) {
$labels = [
'traefik.enable=true',