fix menu tax in data and fix session when multiple user login
This commit is contained in:
@@ -14,6 +14,9 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
health: '/up',
|
||||
)
|
||||
->withMiddleware(function (Middleware $middleware) {
|
||||
$middleware->alias([
|
||||
'validate.api.token.web' => \App\Http\Middleware\ValidateApiTokenForWeb::class,
|
||||
]);
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
$exceptions->shouldRenderJsonWhen(function (Request $request, Throwable $th){
|
||||
|
||||
Reference in New Issue
Block a user