Use environtment variable to config API URL

This commit is contained in:
schooltechx 2023-04-10 17:58:14 +07:00
parent b803beca10
commit e3c74bb25e
13 changed files with 51 additions and 27 deletions

View file

@ -29,7 +29,4 @@ export interface CMSInfo{
address:string;
divisions:{title:string,url:string}[];
institutes:{title:string,url:string}[];
}
export const cmsBase="https://bma-ehr-exam.frappet.synology.me/api/v1/cms"
export const competitiveBase="/api"
export const qualifyingBase="https://bma-ehr-exam.frappet.synology.me/api/v1/cms"
}