aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Ping.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/services/Ping.vue')
-rw-r--r--src/components/services/Ping.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/Ping.vue b/src/components/services/Ping.vue
index 571c5ad..07bc053 100644
--- a/src/components/services/Ping.vue
+++ b/src/components/services/Ping.vue
@@ -29,7 +29,7 @@ export default {
29 }, 29 },
30 methods: { 30 methods: {
31 fetchStatus: async function () { 31 fetchStatus: async function () {
32 const method = typeof this.item.method === 'string' ? this.item.method.toUpperCase() : 'unknown'; 32 const method = typeof this.item.method === 'string' ? this.item.method.toUpperCase() : 'HEAD';
33 33
34 if (!['GET', 'HEAD', 'OPTION'].includes(method)) { 34 if (!['GET', 'HEAD', 'OPTION'].includes(method)) {
35 console.error(`Ping: ${method} is not a supported HTTP method`); 35 console.error(`Ping: ${method} is not a supported HTTP method`);