chore: Remove unnecessary null check for proxy_type in generate_default_proxy_configuration

This commit is contained in:
Andras Bacsai
2024-09-12 12:39:34 +02:00
parent 664a990c60
commit b5a56892fd

View File

@@ -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',