Split the baseUrl
This commit is contained in:
parent
150c0f7de1
commit
1102229d84
|
@ -57,9 +57,11 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
const baseUrl = 'http://drupaltestcamp.docksal';
|
||||
|
||||
axios({
|
||||
method: 'post',
|
||||
url: 'http://drupaltestcamp.docksal/jsonapi/node/session',
|
||||
url: `${baseUrl}/jsonapi/node/session`,
|
||||
data: { data },
|
||||
headers: {
|
||||
'Accept': 'application/vnd.api+json',
|
||||
|
|
Loading…
Reference in a new issue