Skip to content

Commit

Permalink
feat: upgrade axios to 1.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszherba committed Apr 16, 2024
1 parent 8660bf3 commit 4b213fb
Show file tree
Hide file tree
Showing 3 changed files with 1,472 additions and 46 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prepublish": "yarn build"
},
"dependencies": {
"axios": "0.22.0",
"axios": "1.6.8",
"express": "^4.17.1",
"lodash-es": "^4.17.15",
"vue": "^2.6.11"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/nuxt/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const integrationPlugin = (pluginFn: NuxtPlugin) => (nuxtCtx: NuxtContext
const api = createProxiedApi({ givenApi: configuration.api || {}, client, tag });

if (nuxtCtx.app.i18n.cookieValues) {
client.defaults.headers.cookie = setCookieValues(nuxtCtx.app.i18n.cookieValues, client.defaults.headers.cookie);
client.defaults.headers.cookie = setCookieValues(nuxtCtx.app.i18n.cookieValues, client.defaults.headers.cookie.toString());
}

injectInContext({ api, client, config });
Expand Down
Loading

0 comments on commit 4b213fb

Please sign in to comment.