Fix: subdirectory deployment (#2205)

This commit is contained in:
Isidro Osoria authored and GitHub committed 2023-10-18 08:49:42 -07:00
1 parent 5f7891d8db
commit b8eda91005
20 files changed
+42 -41

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ function Widget({ options }) {
const { t, i18n } = useTranslation();
const { data, error } = useSWR(
`/api/widgets/weather?${new URLSearchParams({ lang: i18n.language, ...options }).toString()}`
`api/widgets/weather?${new URLSearchParams({ lang: i18n.language, ...options }).toString()}`
);
if (error || data?.error) {