Files
WAI_Project_UNIX/config/prod.ts
2025-07-21 16:47:04 +08:00

22 lines
307 B
TypeScript

import { get } from "@/cool";
import { proxy } from "./proxy";
export const prod = () => {
const host = get(proxy, `prod.target`) as string;
let baseUrl: string;
// #ifdef H5
baseUrl = host + "/api";
// #endif
// #ifndef H5
baseUrl = host + "/api";
// #endif
return {
host,
baseUrl
};
};