Skip to content

Instantly share code, notes, and snippets.

Created Dec 4, 2017
What would you like to do?
auth main
const token = localStorage.getItem('user-token')
if (token) {
axios.defaults.headers.common['Authorization'] = token
Copy link

ikram142 commented Feb 14, 2019

i use quasar framework , in wich file should I put this code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment