Skip to content

Commit

Permalink
fix(dcellar-web-ui): update getObjectMeta request cache header and po…
Browse files Browse the repository at this point in the history
…licy (#383)
  • Loading branch information
devinxl authored May 11, 2024
1 parent 3f3df03 commit 9581ca4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
12 changes: 12 additions & 0 deletions apps/dcellar-web-ui/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "dcellar-web-ui",
"entries": [
{
"version": "1.3.2",
"tag": "dcellar-web-ui_v1.3.2",
"date": "Sat, 11 May 2024 05:44:13 GMT",
"comments": {
"patch": [
{
"comment": "Update getObjectMeta request cache header and policy"
}
]
}
},
{
"version": "1.3.1",
"tag": "dcellar-web-ui_v1.3.1",
Expand Down
9 changes: 8 additions & 1 deletion apps/dcellar-web-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - dcellar-web-ui

This log was last generated on Sat, 11 May 2024 03:15:50 GMT and should not be manually modified.
This log was last generated on Sat, 11 May 2024 05:44:13 GMT and should not be manually modified.

## 1.3.2
Sat, 11 May 2024 05:44:13 GMT

### Patches

- Update getObjectMeta request cache header and policy

## 1.3.1
Sat, 11 May 2024 03:15:50 GMT
Expand Down
2 changes: 1 addition & 1 deletion apps/dcellar-web-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dcellar-web-ui",
"version": "1.3.1",
"version": "1.3.2",
"private": false,
"scripts": {
"dev": "node ./scripts/dev.js -p 3200",
Expand Down
4 changes: 1 addition & 3 deletions apps/dcellar-web-ui/src/facade/object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,7 @@ export const getObjectMeta = async (
return axios
.get(url, {
headers: {
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expires: '0',
'Cache-Control': 'no-store',
},
})
.then(
Expand Down

0 comments on commit 9581ca4

Please sign in to comment.