We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ca84d commit 4bc27a1Copy full SHA for 4bc27a1
1 file changed
util.js
@@ -35,7 +35,7 @@ const mod = {
35
return fetch(...arguments);
36
},
37
38
- _url: (State, path) => `${ State.baseURL }/${ State.scope }${ `/${ path }`.replace(/\/+/g, '/') }`,
+ _url: (State, path) => console.log(State.baseURL , State.scope, {path}) || `${ State.baseURL }${ `${ State.scope ? '/' + State.scope : '' }/${ path }`.replace(/\/+/g, '/') }`,
39
40
storage (State) {
41
const headers = {
0 commit comments