Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/2271cc00440d4446fb018762cecd47b69e8fffd2
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
1 deletions
@ -3,6 +3,8 @@ import useSWR from "swr";
import { compareVersions } from "compare-versions" ;
import { MdNewReleases } from "react-icons/md" ;
import cachedFetch from "utils/proxy/cached-fetch" ;
export default function Version ( ) {
const { t , i18n } = useTranslation ( ) ;
@ -10,7 +12,9 @@ export default function Version() {
const revision = process . env . NEXT _PUBLIC _REVISION ? ? "dev" ;
const version = process . env . NEXT _PUBLIC _VERSION ? ? "dev" ;
const { data : releaseData } = useSWR ( "https://api.github.com/repos/benphelps/homepage/releases" ) ;
const cachedFetcher = ( resource ) => cachedFetch ( resource , 5 ) . then ( ( res ) => res . json ( ) ) ;
const { data : releaseData } = useSWR ( "https://api.github.com/repos/benphelps/homepage/releases" , cachedFetcher ) ;
/ / u s e I n t l . D a t e T i m e F o r m a t t o f o r m a t t h e d a t e
const formatDate = ( date ) => {