diff --git a/caddy/site/quodatum/index.js b/caddy/site/quodatum/index.js index 94f8124..9b5e325 100644 --- a/caddy/site/quodatum/index.js +++ b/caddy/site/quodatum/index.js @@ -8,8 +8,8 @@ var app = new Vue({ hits:0, loaded: null, target: "caddy", - targets: ["srv","top","new"] - + targets: ["srv","top","new"], + caddy: null }, methods:{ @@ -19,6 +19,9 @@ var app = new Vue({ fetch("links.json") .then(response => response.json()) .then(data => (this.links = data)); + fetch("http://192.168.1.5:2015/config/") + .then(response => response.json()) + .then(data => (this.caddy = data)); } }, mounted () {