diff --git a/lib/plugin.js b/lib/plugin.js index c3b7953..5037666 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -4,9 +4,6 @@ import defu from 'defu' // Axios.prototype cannot be modified const axiosExtra = { - setBaseURL (baseURL) { - this.defaults.baseURL = baseURL - }, setHeader (name, value, scopes = 'common') { for (const scope of Array.isArray(scopes) ? scopes : [ scopes ]) { if (!value) { diff --git a/package.json b/package.json index 39e97dd..ba9bd58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hokify/nuxt-haxios-module", - "version": "1.1.5", + "version": "1.1.6", "description": "Secure and easy Haxios integration with Nuxt.js", "license": "MIT", "contributors": [ @@ -27,7 +27,7 @@ "@nuxtjs/proxy": "^2.1.0", "consola": "^2.15.3", "defu": "^5.0.0", - "haxios": "^1.0.30", + "haxios": "^1.0.34", "null-loader": "^4.0.1" }, "devDependencies": {