diff --git a/resources/assets/js/api/Api.js b/resources/assets/js/api/Api.js index 268b6f76b..89aa57cf5 100644 --- a/resources/assets/js/api/Api.js +++ b/resources/assets/js/api/Api.js @@ -53,6 +53,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -76,6 +77,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -102,6 +104,7 @@ class Api { headers: _.extend({ "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang }, headers) @@ -149,6 +152,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -175,6 +179,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -205,6 +210,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang }