createProxyHost.ts 227 B

123456789
  1. import * as api from "./base";
  2. import type { ProxyHost } from "./models";
  3. export async function createProxyHost(item: ProxyHost): Promise<ProxyHost> {
  4. return await api.post({
  5. url: "/nginx/proxy-hosts",
  6. data: item,
  7. });
  8. }