mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-12-25 16:19:04 +01:00
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