forked from magonysandormate/PeePal
Kész mosdó hozzáadás
This commit is contained in:
@@ -12,7 +12,15 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
health: '/up',
|
||||
)
|
||||
->withMiddleware(function (Middleware $middleware) {
|
||||
//
|
||||
// Add CORS middleware for API routes
|
||||
$middleware->api([
|
||||
\Illuminate\Http\Middleware\HandleCors::class,
|
||||
]);
|
||||
|
||||
// Or if you want to apply CORS to all routes
|
||||
$middleware->append([
|
||||
\Illuminate\Http\Middleware\HandleCors::class,
|
||||
]);
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user