Skip to content

Commit

Permalink
Re-enable WAF check
Browse files Browse the repository at this point in the history
  • Loading branch information
Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram / مِيزَانُ الْدِّينْ عَبْدُ ذِيْ الْجَلَالِ وَ الْإِكْرَامِ authored Mar 3, 2019
1 parent 90a99bf commit 74ef2df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -52,4 +52,4 @@
return $response;

});
**/

0 comments on commit 74ef2df

Please sign in to comment.