Kész mosdó hozzáadás

This commit is contained in:
Sándor Máté Magony
2025-04-08 11:17:41 +02:00
parent 62b54d4ab4
commit cc7c8bc8dd
12 changed files with 169 additions and 42 deletions

View File

@@ -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) {
//