30 lines
834 B
PHP
30 lines
834 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
Route::middleware('api')->prefix('api')->group(base_path('routes/users.php'));
|
|
Route::middleware('api')->prefix('api')->group(base_path('routes/auth.php'));
|
|
Route::middleware('api')->prefix('api')->group(base_path('routes/events.php'));
|
|
Route::middleware('api')->prefix('api')->group(base_path('routes/notifications.php'));
|
|
Route::middleware('api')->prefix('api')->group(base_path('routes/channels.php'));
|
|
}
|
|
}
|