Skip to content

Commit

Permalink
remove cache headers
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed Nov 2, 2024
1 parent 6e78e63 commit 09bbc32
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/views/dashboard/devices/Ota/VersionDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ export default {
response = await axios({
method: 'GET',
url: `https://firmware.openshock.org/version-${this.branch}.txt`,
withCredentials: false,
headers: {
'Cache-Control': 'no-cache',
'Pragma': 'no-cache',
'Expires': '0',
},
withCredentials: false
});
} catch (error) {
console.log(error);
Expand Down

0 comments on commit 09bbc32

Please sign in to comment.