mirror of https://github.com/bastienwirtz/homer
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
parent
6031d57ccb
commit
992b19b80b
|
@ -41,7 +41,10 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetchStatus: async function () {
|
fetchStatus: async function () {
|
||||||
this.fetch("/version", null, false)
|
const params = {
|
||||||
|
cache: "no-cache",
|
||||||
|
};
|
||||||
|
this.fetch("/version", params, false)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
this.status = "online";
|
this.status = "online";
|
||||||
this.versionstring = response;
|
this.versionstring = response;
|
||||||
|
|
Loading…
Reference in New Issue