Skip to content

Commit

Permalink
Temporarily disable WAF checks
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 74b278a commit 90a99bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
};

/** Invoke Middleware for WAF Checks */
/**
$app->add(function (Request $request, Response $response, $next) {
$proxyMode = (bool)getenv('WAF_PROXY_MODE');
Expand All @@ -51,3 +52,4 @@
return $response;
});
**/

0 comments on commit 90a99bf

Please sign in to comment.