mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:44:32 -04:00
Rate limiter for 404's
This commit is contained in:
parent
446fb59b5b
commit
cfda826c89
@ -32,7 +32,7 @@ class QueryLogging
|
|||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function handle(Request $request, Closure $next)
|
public function handle(Request $request, Closure $next)
|
||||||
{nlog("yoyo");
|
{
|
||||||
// Enable query logging for development
|
// Enable query logging for development
|
||||||
if (! Ninja::isHosted() || ! config('beacon.enabled')) {
|
if (! Ninja::isHosted() || ! config('beacon.enabled')) {
|
||||||
return $next($request);
|
return $next($request);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user