utils cleanup, initial static generation

This commit is contained in:
Ben Phelps committed 2022-09-26 12:04:37 +03:00
1 parent ec8700f3e9
commit e1a3a82f75
86 files changed
+279 -261

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { useTranslation } from "next-i18next";
import Widget from "components/services/widgets/widget";
import Block from "components/services/widgets/block";
import { formatProxyUrl } from "utils/api-helpers";
import { formatProxyUrl } from "utils/proxy/api-helpers";
export default function Component({ service }) {
const { t } = useTranslation();
+3 -3
View File
@@ -1,12 +1,12 @@
import genericProxyHandler from "utils/proxies/generic";
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/api/v2.0/{endpoint}?apikey={key}&configured=true",
proxyHandler: genericProxyHandler,
mappings: {
"indexers": {
endpoint: "indexers"
indexers: {
endpoint: "indexers",
},
},
};