mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Roll back routeserviceprovider changes
This commit is contained in:
parent
0edb03943b
commit
689fe9218d
@ -35,11 +35,11 @@ class RouteServiceProvider extends ServiceProvider
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
// if (Ninja::isHosted() && !config('ninja.testvars.travis')) {
|
||||
if (Ninja::isHosted() && !config('ninja.testvars.travis')) {
|
||||
app('router')->aliasMiddleware('throttle', ThrottleRequestsWithPredis::class);
|
||||
// } else {
|
||||
// app('router')->aliasMiddleware('throttle', ThrottleRequests::class);
|
||||
// }
|
||||
} else {
|
||||
app('router')->aliasMiddleware('throttle', ThrottleRequests::class);
|
||||
}
|
||||
|
||||
Route::bind('task_scheduler', function ($value) {
|
||||
if (is_numeric($value)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user