aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-10-11 13:57:42 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-10-11 13:57:42 +0200
commite6069776cea9dd6ac86d5dbbb7ade3057271f3c2 (patch)
treea09d54f4da8542feb1ae013ca6784b17d63b8596
parente274807602356d8094295888a7bb0586e7dbb4a3 (diff)
downloadhomer-e6069776cea9dd6ac86d5dbbb7ade3057271f3c2.tar.gz
homer-e6069776cea9dd6ac86d5dbbb7ade3057271f3c2.tar.zst
homer-e6069776cea9dd6ac86d5dbbb7ade3057271f3c2.zip
Improve demo content
-rw-r--r--dummy-data/_headers3
-rw-r--r--dummy-data/pihole/api.php38
-rw-r--r--public/assets/config-demo.yml.dist4
3 files changed, 45 insertions, 0 deletions
diff --git a/dummy-data/_headers b/dummy-data/_headers
new file mode 100644
index 0000000..175405b
--- /dev/null
+++ b/dummy-data/_headers
@@ -0,0 +1,3 @@
1/*
2 Content-Type: application/json
3 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
index 0000000..62c453d
--- /dev/null
+++ b/dummy-data/pihole/api.php
@@ -0,0 +1,38 @@
1{
2 "domains_being_blocked": 152588,
3 "dns_queries_today": 0,
4 "ads_blocked_today": 0,
5 "ads_percentage_today": 42,
6 "unique_domains": 0,
7 "queries_forwarded": 0,
8 "queries_cached": 0,
9 "clients_ever_seen": 0,
10 "unique_clients": 0,
11 "dns_queries_all_types": 0,
12 "reply_UNKNOWN": 0,
13 "reply_NODATA": 0,
14 "reply_NXDOMAIN": 0,
15 "reply_CNAME": 0,
16 "reply_IP": 0,
17 "reply_DOMAIN": 0,
18 "reply_RRNAME": 0,
19 "reply_SERVFAIL": 0,
20 "reply_REFUSED": 0,
21 "reply_NOTIMP": 0,
22 "reply_OTHER": 0,
23 "reply_DNSSEC": 0,
24 "reply_NONE": 0,
25 "reply_BLOB": 0,
26 "dns_queries_all_replies": 0,
27 "privacy_level": 0,
28 "status": "enabled",
29 "gravity_last_updated": {
30 "file_exists": true,
31 "absolute": 1665486627,
32 "relative": {
33 "days": 0,
34 "hours": 0,
35 "minutes": 22
36 }
37 }
38} \ No newline at end of file
diff --git a/public/assets/config-demo.yml.dist b/public/assets/config-demo.yml.dist
index bbfd0af..f1b7e35 100644
--- a/public/assets/config-demo.yml.dist
+++ b/public/assets/config-demo.yml.dist
@@ -83,3 +83,7 @@ services:
83 subtitle: "Another application" 83 subtitle: "Another application"
84 tag: "app" 84 tag: "app"
85 url: "#" 85 url: "#"
86 - name: "Pi-hole"
87 logo: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/pihole.png"
88 url: "https://homer-demo-content.netlify.app/"
89 type: "PiHole"