From b5a56892fdcf6f3b4b4224a2d4d9f77523003686 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 12 Sep 2024 12:39:34 +0200 Subject: [PATCH] chore: Remove unnecessary null check for proxy_type in generate_default_proxy_configuration --- bootstrap/helpers/proxy.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/bootstrap/helpers/proxy.php b/bootstrap/helpers/proxy.php index 127404d4b..c4c15b8fe 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',