Comparing version 0.0.21 to 0.0.22
@@ -8,3 +8,3 @@ import axios from 'axios' | ||
init: (cfg) => { | ||
console.log('api cfg: ', info) | ||
console.log('api cfg: ', cfg) | ||
const headersDef = { | ||
@@ -17,3 +17,3 @@ // 'Access-Control-Allow-Credentials':'true', | ||
srv = axios.create({ | ||
baseURL: info.url, | ||
baseURL: cfg.url, | ||
headers: headers | ||
@@ -20,0 +20,0 @@ }) |
{ | ||
"name": "fwk-api", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "Framework with api services access(only javascript)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2668