diff --git a/src/components/SessionForm.vue b/src/components/SessionForm.vue index bc7f264..865f29e 100644 --- a/src/components/SessionForm.vue +++ b/src/components/SessionForm.vue @@ -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',