change http to https

feature/passo/PASSO-#1-Sync-data-from-device-to-postgre-and-vice-versa
PGAN-MIS 2023-08-07 14:36:58 +08:00
parent 018f3760a5
commit c675be9374
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class AttachmentServices {
try { try {
var request = http.MultipartRequest( 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.fields.addAll(body);
request.headers.addAll(headers); request.headers.addAll(headers);
paths.forEach((element) async { paths.forEach((element) async {