diff --git a/caddy/site/index.js b/caddy/site/index.js index 424fb07..fca5658 100644 --- a/caddy/site/index.js +++ b/caddy/site/index.js @@ -44,7 +44,7 @@ var app = new Vue({ } }, methods:{ - load: function () { + load() { this.hits += 1 fetch("data.json") .then(response => response.json())