From c675be937460d86fc82e4dad52a79148da620f0c Mon Sep 17 00:00:00 2001 From: PGAN-MIS Date: Mon, 7 Aug 2023 14:36:58 +0800 Subject: [PATCH] change http to https --- lib/utils/attachment_services.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/attachment_services.dart b/lib/utils/attachment_services.dart index 83f7a1c..be51a10 100644 --- a/lib/utils/attachment_services.dart +++ b/lib/utils/attachment_services.dart @@ -49,7 +49,7 @@ class AttachmentServices { try { var request = http.MultipartRequest( - 'POST', Uri.parse('http://${Url.instance.host()}$path$profileId/')); + 'POST', Uri.parse('https://${Url.instance.host()}$path$profileId/')); request.fields.addAll(body); request.headers.addAll(headers); paths.forEach((element) async {