rest-on-couch-client
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -37,3 +37,3 @@ import axios from 'axios'; | ||
this.request = createAxios(this.url); | ||
this.dbUrl = new URL(`db/${config.database}`, this.url).href; | ||
this.dbUrl = new URL(`db/${config.database}/`, this.url).href; | ||
this.dbRequest = createAxios(this.dbUrl); | ||
@@ -40,0 +40,0 @@ } |
@@ -39,3 +39,3 @@ "use strict"; | ||
this.request = createAxios(this.url); | ||
this.dbUrl = new URL(`db/${config.database}`, this.url).href; | ||
this.dbUrl = new URL(`db/${config.database}/`, this.url).href; | ||
this.dbRequest = createAxios(this.dbUrl); | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "rest-on-couch-client", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "A nodejs / browser client for rest-on-couch backend", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
212305