Skip to content

Commit

Permalink
FIX new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaFM committed Oct 29, 2024
1 parent f2c617e commit 6a8a587
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/graphql.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ export default function (
const graphql = $axios.create({
headers: {
common: {
Accept: 'text/plain, */*',
},
post: {
'Content-Type': 'application/json',
Accept: 'application/json', // Cambiar a application/json si el servidor lo espera
'Content-Type': 'application/json', // Establecer el tipo de contenido como JSON
},
},
timeout: 5000,
Expand Down

0 comments on commit 6a8a587

Please sign in to comment.