Исправлены модели, контроллеры и маршруты для AI-сборки

This commit is contained in:
dimon8
2026-01-12 08:04:42 +00:00
parent 2d98209ce1
commit e7b63f7863
8 changed files with 1 additions and 169 deletions

View File

@@ -4,10 +4,7 @@ use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
<<<<<<< HEAD
// bootstrap/app.php
=======
>>>>>>> origin/main
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
@@ -15,7 +12,6 @@ return Application::configure(basePath: dirname(__DIR__))
commands: __DIR__.'/../routes/console.php',
health: '/up',
)
<<<<<<< HEAD
->withMiddleware(function (Middleware $middleware) {
// Убедитесь, что HandleCors здесь
$middleware->api(prepend: [
@@ -30,11 +26,3 @@ return Application::configure(basePath: dirname(__DIR__))
->withExceptions(function (Exceptions $exceptions) {
//
})->create();
=======
->withMiddleware(function (Middleware $middleware): void {
//
})
->withExceptions(function (Exceptions $exceptions): void {
//
})->create();
>>>>>>> origin/main