initial: bootstrap from BukidBountyApp base
This commit is contained in:
42
app/Providers/RouteServiceProvider.php
Normal file
42
app/Providers/RouteServiceProvider.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Hypervel\Foundation\Support\Providers\RouteServiceProvider as BaseServiceProvider;
|
||||
use Hypervel\Support\Facades\Route;
|
||||
|
||||
class RouteServiceProvider extends BaseServiceProvider
|
||||
{
|
||||
/**
|
||||
* The route files for the application.
|
||||
*/
|
||||
protected array $routes = [
|
||||
];
|
||||
|
||||
public function boot(): void
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
|
||||
|
||||
Route::group(
|
||||
'/api',
|
||||
base_path('routes/api.php'),
|
||||
['middleware' => 'api']
|
||||
);
|
||||
|
||||
Route::group(
|
||||
'/',
|
||||
base_path('routes/web.php'),
|
||||
['middleware' => 'web']
|
||||
);
|
||||
|
||||
// Route::middleware('web')
|
||||
// ->prefix('Store')
|
||||
// ->name('store.')
|
||||
// ->group(base_path('routes/store.php'));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user