forked from extern/homer
Update Ping.vue
This commit is contained in:
parent
cf2fb08dc7
commit
76a46c3507
@ -50,7 +50,11 @@ export default {
|
||||
methods: {
|
||||
fetchStatus: async function () {
|
||||
const url = `${this.item.url}`;
|
||||
fetch(url, { method: "HEAD", cache: "no-cache" })
|
||||
fetch(url, {
|
||||
method: "HEAD",
|
||||
cache: "no-cache",
|
||||
credentials: "include",
|
||||
})
|
||||
.then((response) => {
|
||||
if (!response.ok) {
|
||||
throw Error(response.statusText);
|
||||
|
Loading…
Reference in New Issue
Block a user