Skip to content

Commit

Permalink
[SDPA-3351] jsonapi cache (#587)
Browse files Browse the repository at this point in the history
* [SDPA-3351] Added jsonapi required header in Tide request
  • Loading branch information
tim-yao committed Nov 8, 2019
1 parent a26bf46 commit d82a502
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/ripple-nuxt-tide/lib/core/tide.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ export const tide = (axios, site, config) => ({
const axiosConfig = {
auth: config.auth,
timeout: axiosTimeout,
headers: {}
headers: {
'Content-Type': 'application/vnd.api+json; charset=UTF-8',
'Accept': 'application/vnd.api+json'
}
}

if (this.isModuleEnabled('authenticatedContent')) {
Expand Down

0 comments on commit d82a502

Please sign in to comment.