Revert "Fix: subdirectory deployment (#2205)"

This revers commit b8eda91005
This commit is contained in:
shamoon
2023-10-18 11:44:26 -07:00
parent 9e3bc8e64f
commit 8ec488efbd
20 changed files with 41 additions and 42 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,
});