This commit is contained in:
fro1991
2025-02-01 19:49:27 +07:00
parent 42c2a8e481
commit 13a2c4d42c
57 changed files with 159 additions and 295 deletions

View File

@ -1,18 +1,12 @@
interface apiConfigProps {
service_user: string;
service_dashboard: string;
service_master_data: string;
service_bank: string;
service_bg: string;
service_credit: string;
}
const API_URL = import.meta.env.VITE_APP_API_URL;
const apiConfig: apiConfigProps = {
service_user: `${API_URL}/u`,
service_dashboard: `${API_URL}/d`,
service_master_data: `${API_URL}/m`,
service_bank: `${API_URL}/b`,
service_bg: `${API_URL}/bg`,
service_credit: `${API_URL}/c`
};
export { apiConfig };