Fix: subdirectory deployment (#2205)

This commit is contained in:
Isidro Osoria
2023-10-18 23:49:42 +08:00
committed by GitHub
parent 5f7891d8db
commit b8eda91005
20 changed files with 42 additions and 41 deletions

View File

@@ -8,7 +8,7 @@ import Node from "./node";
export default function Longhorn({ options }) {
const { expanded, total, labels, include, nodes } = options;
const { data, error } = useSWR(`/api/widgets/longhorn`, {
const { data, error } = useSWR(`api/widgets/longhorn`, {
refreshInterval: 1500
});