nuxt-custom-fetch 1.1.3 → 1.1.4
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/module.json +1 -1
- package/dist/runtime/ajax.mjs +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/runtime/ajax.mjs
CHANGED
|
@@ -104,7 +104,7 @@ export class CustomFetch {
|
|
|
104
104
|
return { ...params };
|
|
105
105
|
}
|
|
106
106
|
http(url, config = {}, options) {
|
|
107
|
-
const key = config.key ? config.key : hash([...generateOptionSegments(config)]);
|
|
107
|
+
const key = config.key ? config.key : hash([url, ...generateOptionSegments(config)]);
|
|
108
108
|
const baseURL = config?.baseURL || this.baseURL;
|
|
109
109
|
const query = this.baseConfig(config);
|
|
110
110
|
const offline = config?.offline || this.offline;
|