Skip to content

Commit

Permalink
disable cache for Docuseal fetch
Browse files Browse the repository at this point in the history
I noticed my Docuseal card was showing "online" after I'd shut it down.

Might be from one of these? https://github.com/search?q=repo%3Adocusealco%2Fdocuseal%20cache%20control&type=code

and/or because /version is just a file?

Either way, this fixes it from the Homer side.
  • Loading branch information
meonkeys committed Feb 3, 2025
1 parent 6031d57 commit 992b19b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/services/Docuseal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ export default {
},
methods: {
fetchStatus: async function () {
this.fetch("/version", null, false)
const params = {
cache: "no-cache",
};
this.fetch("/version", params, false)
.then((response) => {
this.status = "online";
this.versionstring = response;
Expand Down

0 comments on commit 992b19b

Please sign in to comment.