From 60f6cbf1b88aa2f3bac67474084d756d89cc6d37 Mon Sep 17 00:00:00 2001 From: zaid_daoud Date: Tue, 29 Aug 2023 14:40:38 +0300 Subject: [PATCH] Voice Note Issue Fixed --- lib/controllers/api_routes/urls.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controllers/api_routes/urls.dart b/lib/controllers/api_routes/urls.dart index 94388e19..3100cf51 100644 --- a/lib/controllers/api_routes/urls.dart +++ b/lib/controllers/api_routes/urls.dart @@ -12,7 +12,7 @@ class URLs { 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"); // API Routes