<div v-if="offline" class="offline-message">
<i class="far fa-dizzy"></i>
<h1>
- You're offline bro.
+ You're offline friend.
<span @click="checkOffline"> <i class="fas fa-redo-alt"></i></span>
</h1>
</div>
methods: {
checkOffline: function () {
let that = this;
- return fetch(window.location.href + "?alive", {
+ return fetch(window.location.origin + "?alive", {
method: "HEAD",
cache: "no-store",
})