change http to https
parent
018f3760a5
commit
c675be9374
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue