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

Fix broken update checker

pull/732/head
Michael Shamoon 2 years ago
parent e46d291c78
commit 679704949e

@ -12,7 +12,7 @@ export default function Version() {
const revision = process.env.NEXT_PUBLIC_REVISION?.length ? process.env.NEXT_PUBLIC_REVISION : "dev";
const version = process.env.NEXT_PUBLIC_VERSION?.length ? process.env.NEXT_PUBLIC_VERSION : "dev";
const cachedFetcher = (resource) => cachedFetch(resource, 5).then((res) => res.json());
const cachedFetcher = (resource) => cachedFetch(resource, 5);
const { data: releaseData } = useSWR("https://api.github.com/repos/benphelps/homepage/releases", cachedFetcher);

Loading…
Cancel
Save