|
|
|
@ -12,7 +12,7 @@ class URLs {
|
|
|
|
|
|
|
|
|
|
|
|
set host(String value) => _host = value;
|
|
|
|
set host(String value) => _host = value;
|
|
|
|
|
|
|
|
|
|
|
|
static String getFileUrl(String file) => (file == null || file.isEmpty) ? null : (file.contains("/") ? file : "$_host/Files/DownloadFile?fileName=$file");
|
|
|
|
static String getFileUrl(String file) => (file == null || file.isEmpty) ? null : (file.contains("/") ? file : "$_baseUrl/Files/DownloadFile?fileName=$file");
|
|
|
|
// static String getFileUrl(String file) => (file == null || file.isEmpty) ? null : (file.contains("/") ? file : "$_host/attachment/$file");
|
|
|
|
// static String getFileUrl(String file) => (file == null || file.isEmpty) ? null : (file.contains("/") ? file : "$_host/attachment/$file");
|
|
|
|
|
|
|
|
|
|
|
|
// API Routes
|
|
|
|
// API Routes
|
|
|
|
|