change from session to token

This commit is contained in:
2025-08-12 16:44:14 +03:30
parent cfb58a4c9c
commit 9a0758a754
9 changed files with 253 additions and 262 deletions

View File

@@ -10,7 +10,7 @@ return Application::configure(basePath: dirname(__DIR__))
api: __DIR__.'/../routes/api.php',
commands: __DIR__.'/../routes/console.php',
health: '/up',
apiPrefix: 'server/api',
apiPrefix: '/server',
)
->withMiddleware(function (Middleware $middleware) {
$middleware->validateCsrfTokens(except: [