CrunchyDL/components/Crunchyroll/Proxy.ts
2024-05-19 02:44:04 +02:00

9 lines
235 B
TypeScript

import type { Proxies } from "./Types"
export async function getProxies() {
const { data, error } = await useFetch<Proxies>('http://localhost:9941/api/service/proxies', {
method: 'GET',
})
return { data, error }
}