mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-07 16:02:10 +08:00
Fix: subdirectory deployment (#2205)
This commit is contained in:
@@ -12,7 +12,7 @@ function convertToFahrenheit(t) {
|
||||
export default function CpuTemp({ expanded, units, refresh = 1500 }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const { data, error } = useSWR(`/api/widgets/resources?type=cputemp`, {
|
||||
const { data, error } = useSWR(`api/widgets/resources?type=cputemp`, {
|
||||
refreshInterval: refresh,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user