mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 09:35:09 +01:00
Fix wrong backendurl being used for meta data fetching
This commit is contained in:
parent
378a1696b3
commit
41f83f4bef
@ -25,7 +25,7 @@ export function TrustBackendPart(props: TrustBackendPartProps) {
|
||||
const backendUrl = useBackendUrl();
|
||||
const hostname = useMemo(() => new URL(backendUrl).hostname, [backendUrl]);
|
||||
const result = useAsync(() => {
|
||||
return getBackendMeta(conf().BACKEND_URL);
|
||||
return getBackendMeta(backendUrl);
|
||||
}, [backendUrl]);
|
||||
const { t } = useTranslation();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user