mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 01:26:01 -08:00
Fix: subdirectory deployment (#2205)
This commit is contained in:
@@ -8,7 +8,7 @@ import Error from "../widget/error";
|
||||
export default function Disk({ options, expanded, refresh = 1500 }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const { data, error } = useSWR(`/api/widgets/resources?type=disk&target=${options.disk}`, {
|
||||
const { data, error } = useSWR(`api/widgets/resources?type=disk&target=${options.disk}`, {
|
||||
refreshInterval: refresh,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user