2023-02-01 08:03:05 +00:00
|
|
|
class Url {
|
2023-01-17 07:52:31 +00:00
|
|
|
static final Url _instance = Url();
|
2023-01-18 07:54:44 +00:00
|
|
|
static Url get instance => _instance;
|
2023-01-17 07:52:31 +00:00
|
|
|
|
2023-02-01 08:03:05 +00:00
|
|
|
String host() {
|
|
|
|
// return '192.168.10.221:3003';
|
2023-02-10 02:02:35 +00:00
|
|
|
// return 'agusandelnorte.gov.ph';
|
|
|
|
return 'devweb.agusandelnorte.gov.ph';
|
2023-01-17 07:52:31 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 08:03:05 +00:00
|
|
|
String authentication() {
|
2023-01-19 05:21:12 +00:00
|
|
|
return '/api/account/auth/login/';
|
2023-01-17 07:52:31 +00:00
|
|
|
}
|
2023-01-18 07:54:44 +00:00
|
|
|
|
2023-02-01 08:03:05 +00:00
|
|
|
String profileInformation(){
|
|
|
|
return '/api/jobnet_app/profile/pds/';
|
|
|
|
}
|
2023-02-15 08:48:34 +00:00
|
|
|
|
|
|
|
String eligibilities(){
|
|
|
|
return "/api/jobnet_app/eligibilities/";
|
|
|
|
}
|
|
|
|
// location utils path
|
|
|
|
String getCounties(){
|
|
|
|
return "/api/jobnet_app/countries/";
|
|
|
|
}
|
|
|
|
String getRegions(){
|
|
|
|
return "/api/web_app/location/region/";
|
|
|
|
}
|
2023-02-16 07:10:54 +00:00
|
|
|
String getProvinces(){
|
|
|
|
return "api/web_app/location/province/";
|
|
|
|
}
|
2023-02-20 07:48:24 +00:00
|
|
|
String getCities(){
|
|
|
|
return "/api/web_app/location/citymun/";
|
|
|
|
}
|
2023-01-17 07:52:31 +00:00
|
|
|
}
|