add new route for testing esi tag
This commit is contained in:
@@ -44,9 +44,8 @@ if ( false === in_array($request->getClientIp(), $trustedIp)) {
|
||||
$response = Response::create('Forbidden', 403)->send();
|
||||
$thelia->terminate($request, $response);
|
||||
} else {
|
||||
$thelia = new HttpCache($thelia);
|
||||
$response = $thelia->handle($request)->send();
|
||||
//$thelia->terminate($request, $response);
|
||||
$thelia->terminate($request, $response);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user