We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel need to verify every request with token
if user login to send request login to create token D:\Projects\otickets\frontend\src\lib\axios.ts
import axios from 'axios' const auth = JSON.parse(localStorage.getItem('auth') || '{}') axios.defaults.baseURL = import.meta.env.VITE_API_URL_API if (auth.token) { axios.defaults.headers.common['Authorization'] = 'Bearer ' + auth.token } export default axios
look at in code you can see auth.token variable is not existing == > error
how to bypass this bug
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Laravel need to verify every request with token
if user login to send request login to create token
D:\Projects\otickets\frontend\src\lib\axios.ts
look at in code you can see auth.token variable is not existing

== > error
how to bypass this bug
The text was updated successfully, but these errors were encountered: