CrunchyDL/components/Crunchyroll/Proxy.ts
2024-05-20 02:44:14 +02:00

10 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 }
}