Files
wireguard-dashboard/web-src/src/api/routes.ts

11 lines
198 B
TypeScript
Raw Normal View History

2024-06-04 09:55:48 +08:00
import { http } from "@/utils/http";
type Result = {
success: boolean;
data: Array<any>;
};
export const getAsyncRoutes = () => {
return http.request<Result>("get", "/get-async-routes");
};