This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
CrunchyDL/components/Crunchyroll/Proxy.ts

10 lines
235 B
TypeScript
Raw Normal View History

2024-05-20 02:44:14 +02:00
import type { Proxies } from './Types'
export async function getProxies() {
const { data, error } = await useFetch<Proxies>('http://localhost:9941/api/service/proxies', {
2024-05-20 02:44:14 +02:00
method: 'GET'
})
return { data, error }
2024-05-20 02:44:14 +02:00
}