Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/1aa559537a4c920d5400e1778cf5a25b17162e09 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Update proxy.js

pull/1383/head
shamoon 2 years ago
parent 4794c8e2ed
commit 1aa559537a

@ -52,7 +52,7 @@ async function apiCall(widget, endpoint, service) {
if (status === 401 || status === 403) {
logger.debug("Homebridge API rejected the request, attempting to obtain new session token");
const { accessToken } = login(widget, service);
const { accessToken } = await login(widget, service);
headers.Authorization = `Bearer ${accessToken}`;
// retry the request, now with the new session token

Loading…
Cancel
Save