Added API stub configuration
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 33s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-07-26 12:34:35 +10:00
parent 9380850395
commit 73baa2f153
3 changed files with 9 additions and 2 deletions

View File

@ -10,6 +10,7 @@ use App\Http\Middleware\{Role,SetSite};
return Application::configure(basePath: dirname(__DIR__)) return Application::configure(basePath: dirname(__DIR__))
->withRouting( ->withRouting(
web: __DIR__.'/../routes/web.php', web: __DIR__.'/../routes/web.php',
//api: __DIR__.'/../routes/api.php',
commands: __DIR__.'/../routes/console.php', commands: __DIR__.'/../routes/console.php',
health: '/up', health: '/up',
) )

View File

@ -40,6 +40,12 @@ return [
'driver' => 'session', 'driver' => 'session',
'provider' => 'users', 'provider' => 'users',
], ],
'api' => [
'driver' => 'passport',
'provider' => 'users',
],
], ],
/* /*

View File

@ -1,12 +1,12 @@
<?php <?php
use Illuminate\Support\Facades\Route;
use Intuit\Controllers\Webhook; use Intuit\Controllers\Webhook;
use App\Http\Controllers\{AccountingController, use App\Http\Controllers\{AccountingController,
AdminController, AdminController,
CheckoutController, CheckoutController,
ProductController, ProductController};
ResellerServicesController};
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------