mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
Re-register service providers
This commit is contained in:
@@ -6,7 +6,9 @@ use Illuminate\Foundation\Configuration\Exceptions;
|
|||||||
use Illuminate\Foundation\Configuration\Middleware;
|
use Illuminate\Foundation\Configuration\Middleware;
|
||||||
|
|
||||||
return Application::configure(basePath: dirname(__DIR__))
|
return Application::configure(basePath: dirname(__DIR__))
|
||||||
->withProviders()
|
->withProviders([
|
||||||
|
\Scyllaly\HCaptcha\HCaptchaServiceProvider::class,
|
||||||
|
])
|
||||||
->withRouting(
|
->withRouting(
|
||||||
web: __DIR__.'/../routes/web.php',
|
web: __DIR__.'/../routes/web.php',
|
||||||
// api: __DIR__.'/../routes/api.php',
|
// api: __DIR__.'/../routes/api.php',
|
||||||
|
|||||||
@@ -7,21 +7,6 @@ return [
|
|||||||
|
|
||||||
'login_route' => env('LOGIN_ROUTE_NAME', 'login'),
|
'login_route' => env('LOGIN_ROUTE_NAME', 'login'),
|
||||||
|
|
||||||
'providers' => ServiceProvider::defaultProviders()->merge([
|
|
||||||
/*
|
|
||||||
* Package Service Providers...
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Application Service Providers...
|
|
||||||
*/
|
|
||||||
App\Providers\AppServiceProvider::class,
|
|
||||||
App\Providers\AuthServiceProvider::class,
|
|
||||||
// App\Providers\BroadcastServiceProvider::class,
|
|
||||||
App\Providers\EventServiceProvider::class,
|
|
||||||
App\Providers\RouteServiceProvider::class,
|
|
||||||
Scyllaly\HCaptcha\HCaptchaServiceProvider::class,
|
|
||||||
])->toArray(),
|
|
||||||
|
|
||||||
'aliases' => Facade::defaultAliases()->merge([
|
'aliases' => Facade::defaultAliases()->merge([
|
||||||
'HCaptcha' => Scyllaly\HCaptcha\Facades\HCaptcha::class,
|
'HCaptcha' => Scyllaly\HCaptcha\Facades\HCaptcha::class,
|
||||||
|
|||||||
Reference in New Issue
Block a user