Revert "Fix: subdirectory deployment (#2205)"
This revers commit b8eda91005
This commit is contained in:
1 parent
9e3bc8e64f
commit
8ec488efbd
20 files changed
+41
-42
No files matched your search
@@ -23,7 +23,7 @@ export default function Widget({ options }) {
|
||||
const { settings } = useContext(SettingsContext);
|
||||
|
||||
const { data, error } = useSWR(
|
||||
`api/widgets/glances?${new URLSearchParams({ lang: i18n.language, ...options }).toString()}`,
|
||||
`/api/widgets/glances?${new URLSearchParams({ lang: i18n.language, ...options }).toString()}`,
|
||||
{
|
||||
refreshInterval: 1500,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user