Skip to content

Commit 2b83a38

Browse files
Fix up deploy previews (#749)
fix(ci): deploy previews --------- Co-authored-by: Bastien Wirtz <bastien.wirtz@gmail.com>
1 parent 4726d8d commit 2b83a38

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

dummy-data/_headers

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
/*
22
Content-Type: application/json
3-
Access-Control-Allow-Origin: https://homer-demo.netlify.app
4-
Access-Control-Allow-Headers: Authorization
5-
Access-Control-Allow-Methods: GET, OPTIONS

public/assets/config-demo.yml.dist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,19 @@ services:
104104
- name: "Octoprint"
105105
logo: "https://cdn-icons-png.flaticon.com/512/3112/3112529.png"
106106
apikey: "xxxxxxxxxxxx"
107-
endpoint: "https://homer-demo-content.netlify.app/octoprint"
107+
endpoint: "/dummy-data/octoprint"
108108
type: "OctoPrint"
109109
- name: "Pi-hole"
110110
logo: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/pi-hole.png"
111111
url: "https://pi-hole.net/"
112-
endpoint: "https://homer-demo-content.netlify.app/pihole"
112+
endpoint: "/dummy-data/pihole"
113113
type: "PiHole"
114114
- name: "Proxmox - Node1"
115115
logo: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/proxmox.png"
116116
type: "Proxmox"
117117
tag: "sys"
118118
url: "https://www.proxmox.com/en/"
119-
endpoint: "https://homer-demo-content.netlify.app/proxmox"
119+
endpoint: "/dummy-data/proxmox"
120120
node: "node1"
121121
warning_value: 50
122122
danger_value: 80
@@ -125,7 +125,7 @@ services:
125125
location: "Lille"
126126
apikey: "xxxxxxxxxxxx" # insert your own API key here. Request one from https://openweathermap.org/api.
127127
units: "metric"
128-
endpoint: "https://homer-demo-content.netlify.app/openweather/weather"
128+
endpoint: "/dummy-data/openweather/weather"
129129
type: "OpenWeather"
130130
- name: "Ressources"
131131
icon: "fa-regular fa-bookmark"

0 commit comments

Comments
 (0)