This commit is contained in:
bagusajisaputroo
2025-03-24 10:22:43 +07:00
parent 5422ce9381
commit d9843d7848
8 changed files with 6 additions and 941 deletions

View File

@ -1,6 +1,8 @@
interface apiConfigProps {
service_dashboard: string;
service_master_data: string;
service_transaction: string;
service_customer: string;
}
const API_URL = import.meta.env.VITE_APP_API_URL;
@ -8,7 +10,9 @@ const apiConfig: apiConfigProps = {
// service_dashboard: `${API_URL}${import.meta.env.VITE_ENV != 'development' ? '/d' : ''}`,
service_dashboard: `${API_URL}/d`,
// service_master_data: `${API_URL}/m`
service_master_data: `${API_URL}/t`
service_master_data: `${API_URL}/t`,
service_transaction: `${API_URL}/tt`,
service_customer: `${API_URL}/c`,
};
export { apiConfig };