Skip to content

Commit

Permalink
Default middleware config changed.
Browse files Browse the repository at this point in the history
Added default 'web' middleware for axios calls (prevents 401 error).
  • Loading branch information
xGrz committed Sep 22, 2023
1 parent 1d9c8af commit 93356d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
'expose_api_route' => true,
'api_route_name' => 'ajax.gus',
'api_uri' => 'ajax/gus',
'middleware' => ['web']
'middleware' => [
'web'
]
];

0 comments on commit 93356d8

Please sign in to comment.