diff --git a/config/dependencies.php b/config/dependencies.php index 3be85bf..7f4b8c5 100644 --- a/config/dependencies.php +++ b/config/dependencies.php @@ -31,10 +31,10 @@ }; /** Invoke Middleware for WAF Checks */ -/** + $app->add(function (Request $request, Response $response, $next) { - $proxyMode = (bool)getenv('WAF_PROXY_MODE'); + $proxyMode = (bool) getenv('WAF_PROXY_MODE'); if ($proxyMode) { // Validate Key @@ -52,4 +52,4 @@ return $response; }); -**/ +