disable cache for Docuseal fetch

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.
pull/866/head
Adam Monsen 2025-01-31 07:05:40 -08:00
parent 6031d57ccb
commit 992b19b80b
1 changed files with 4 additions and 1 deletions

View File

@ -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;