]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Improve demo content
authorBastien Wirtz <bastien.wirtz@gmail.com>
Tue, 11 Oct 2022 11:57:42 +0000 (13:57 +0200)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Tue, 11 Oct 2022 11:57:42 +0000 (13:57 +0200)
dummy-data/_headers [new file with mode: 0644]
dummy-data/pihole/api.php [new file with mode: 0644]
public/assets/config-demo.yml.dist

diff --git a/dummy-data/_headers b/dummy-data/_headers
new file mode 100644 (file)
index 0000000..175405b
--- /dev/null
@@ -0,0 +1,3 @@
+/*
+  Content-Type: application/json
+  Access-Control-Allow-Origin: *
\ No newline at end of file
diff --git a/dummy-data/pihole/api.php b/dummy-data/pihole/api.php
new file mode 100644 (file)
index 0000000..62c453d
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "domains_being_blocked": 152588,
+       "dns_queries_today": 0,
+       "ads_blocked_today": 0,
+       "ads_percentage_today": 42,
+       "unique_domains": 0,
+       "queries_forwarded": 0,
+       "queries_cached": 0,
+       "clients_ever_seen": 0,
+       "unique_clients": 0,
+       "dns_queries_all_types": 0,
+       "reply_UNKNOWN": 0,
+       "reply_NODATA": 0,
+       "reply_NXDOMAIN": 0,
+       "reply_CNAME": 0,
+       "reply_IP": 0,
+       "reply_DOMAIN": 0,
+       "reply_RRNAME": 0,
+       "reply_SERVFAIL": 0,
+       "reply_REFUSED": 0,
+       "reply_NOTIMP": 0,
+       "reply_OTHER": 0,
+       "reply_DNSSEC": 0,
+       "reply_NONE": 0,
+       "reply_BLOB": 0,
+       "dns_queries_all_replies": 0,
+       "privacy_level": 0,
+       "status": "enabled",
+       "gravity_last_updated": {
+               "file_exists": true,
+               "absolute": 1665486627,
+               "relative": {
+                       "days": 0,
+                       "hours": 0,
+                       "minutes": 22
+               }
+       }
+}
\ No newline at end of file
index bbfd0afc4b8e7a7436fadf462bfad12cf29605e8..f1b7e35c5dfab8b610cfbfaedc4a3b50c483412c 100644 (file)
@@ -83,3 +83,7 @@ services:
         subtitle: "Another application"
         tag: "app"
         url: "#"
+      - name: "Pi-hole"
+        logo: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/pihole.png"
+        url: "https://homer-demo-content.netlify.app/"
+        type: "PiHole"