mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-21 15:41:51 +00:00
Added "withCredentials" line (for express sessions to work)
This commit is contained in:
parent
afa6eee039
commit
ec5263cbc0
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ import config from '@/config';
|
||||||
|
|
||||||
export const instance = () => {
|
export const instance = () => {
|
||||||
return axios.create({
|
return axios.create({
|
||||||
baseURL: config.domain
|
baseURL: config.domain,
|
||||||
|
withCredentials: true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue