mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Fix wrong backendurl being used for meta data fetching
This commit is contained in:
parent
378a1696b3
commit
41f83f4bef
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export function TrustBackendPart(props: TrustBackendPartProps) {
|
||||||
const backendUrl = useBackendUrl();
|
const backendUrl = useBackendUrl();
|
||||||
const hostname = useMemo(() => new URL(backendUrl).hostname, [backendUrl]);
|
const hostname = useMemo(() => new URL(backendUrl).hostname, [backendUrl]);
|
||||||
const result = useAsync(() => {
|
const result = useAsync(() => {
|
||||||
return getBackendMeta(conf().BACKEND_URL);
|
return getBackendMeta(backendUrl);
|
||||||
}, [backendUrl]);
|
}, [backendUrl]);
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue