chore: Remove unnecessary null check for proxy_type in generate_default_proxy_configuration
This commit is contained in:
@@ -137,8 +137,6 @@ function generate_default_proxy_configuration(Server $server)
|
|||||||
'external' => true,
|
'external' => true,
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
// TODO: This should not be null on new servers, but it is.
|
|
||||||
ray($proxy_type);
|
|
||||||
if ($proxy_type === ProxyTypes::TRAEFIK->value) {
|
if ($proxy_type === ProxyTypes::TRAEFIK->value) {
|
||||||
$labels = [
|
$labels = [
|
||||||
'traefik.enable=true',
|
'traefik.enable=true',
|
||||||
|
|||||||
Reference in New Issue
Block a user