Added "withCredentials" line (for express sessions to work)

This commit is contained in:
supertiger 2019-02-22 20:48:54 +00:00
parent afa6eee039
commit ec5263cbc0

View file

@ -3,7 +3,8 @@ import config from '@/config';
export const instance = () => {
return axios.create({
baseURL: config.domain
baseURL: config.domain,
withCredentials: true
})
}