druxt 0.18.2 → 0.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/druxt.esm.js CHANGED
@@ -9,7 +9,7 @@ import Vue from 'vue';
9
9
  import { DrupalJsonApiParams } from 'drupal-jsonapi-params';
10
10
 
11
11
  var name = "druxt";
12
- var version = "0.18.2";
12
+ var version = "0.18.3";
13
13
  var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
14
14
  var keywords = [
15
15
  "cms",
@@ -183,7 +183,7 @@ class DruxtClient {
183
183
  } else {
184
184
  this.axios = axios.create({
185
185
  ...options.axios || {},
186
- baseURL: baseUrl
186
+ baseURL: baseUrl && !(options.proxy || {}).api ? baseUrl : void 0
187
187
  });
188
188
  }
189
189
  if (options.debug) {
package/dist/druxt.ssr.js CHANGED
@@ -22,7 +22,7 @@ const md5__default = /*#__PURE__*/_interopDefaultLegacy(md5);
22
22
  const Vue__default = /*#__PURE__*/_interopDefaultLegacy(Vue);
23
23
 
24
24
  var name = "druxt";
25
- var version = "0.18.2";
25
+ var version = "0.18.3";
26
26
  var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
27
27
  var keywords = [
28
28
  "cms",
@@ -196,7 +196,7 @@ class DruxtClient {
196
196
  } else {
197
197
  this.axios = axios__default['default'].create({
198
198
  ...options.axios || {},
199
- baseURL: baseUrl
199
+ baseURL: baseUrl && !(options.proxy || {}).api ? baseUrl : void 0
200
200
  });
201
201
  }
202
202
  if (options.debug) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "The Fully Decoupled Drupal Framework for Nuxt.js.",
5
5
  "keywords": [
6
6
  "cms",