Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/c00946cdc59cd58d851443fc2f5ac41fc1565568
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
14 additions and
1 deletions
@ -1,8 +1,11 @@
import { useTranslation } from "next-i18next" ;
import Container from "components/services/widget/container" ;
import Block from "components/services/widget/block" ;
import useWidgetAPI from "utils/proxy/use-widget-api" ;
export default function Component ( { service } ) {
const { t } = useTranslation ( ) ;
const { widget } = service ;
const { data : immichData , error : immichError } = useWidgetAPI ( widget ) ;
@ -27,7 +30,17 @@ export default function Component({ service }) {
< Block label = "immich.users" value = { immichData . usageByUser . length } / >
< Block label = "immich.photos" value = { immichData . photos } / >
< Block label = "immich.videos" value = { immichData . videos } / >
< Block label = "immich.storage" value = { immichData . usage } / >
< Block label = "immich.storage"
value = {
/ / b a c k w a r d s - c o m p a t i b l e e . g . ' 9 G i B '
immichData . usage . toString ( ) . toLowerCase ( ) . includes ( 'b' ) ?
immichData . usage :
t ( "common.bytes" , {
value : immichData . usage ,
maximumFractionDigits : 1 ,
binary : true / / m a t c h i m m i c h
} )
} / >
< / Container >
) ;
}