- const url = `${this.item.url}`;
- fetch(url, {
- method: "HEAD",
- cache: "no-cache",
- credentials: "include",
- })
- .then((response) => {
- if (!response.ok) {
- throw Error(response.statusText);
- }
+ this.fetch("/", { method: "HEAD", cache: "no-cache" }, false)
+ .then(() => {