Skip to content

Commit 7fd8752

Browse files
committed
fix: hit count
1 parent 9fe37c8 commit 7fd8752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/pages/_layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
`https://hits.goblin.run/hit?url=${window.location.href}`
8585
);
8686
const hitsCount =
87-
await await `https://hits.goblin.run/hits?url=${window.location.href}`;
87+
await fetch(`https://hits.goblin.run/hits?url=${window.location.href}`).then(d=>d.json());
8888
this.hits = hitsCount.count
8989
},
9090
}"

0 commit comments

Comments
 (0)