skip to Main Content

Laravel – Cannot authenticate using spa

I have my API that run on this url: https://example.com, and my vue.js app which runs on this: https://app.example.com. So I configured as the following the .env: SESSION_DOMAIN=.example.com SANCTUM_STATEFUL_DOMAINS=https://app.example.com the axios configuration contains the following: import axios from 'axios' const…

VIEW QUESTION

Laravel – How to overwrite reorder route?

I am trying to pass category id along with reorder route so I can list article based on the category. How can I overwrite reorder route like this Route::get($segment.'/{id}/reorder', [ 'as' => $routeName.'.reorder', 'uses' => $controller.'@reorder', 'operation' => 'reorder', ]);…

VIEW QUESTION
Back To Top
Search