Private
Public Access
1
0
This commit is contained in:
2022-05-25 21:27:13 -07:00
parent 7a3303da06
commit e161eedef3

View File

@@ -19,7 +19,9 @@
if (self) { if (self) {
_contentType = contentType; _contentType = contentType;
_httpHeaders = [@{ _httpHeaders = [@{
@"Content-Type" : _contentType ?: @"application/octet-stream" @"Content-Type" : _contentType ?: @"application/octet-stream",
@"Access-Control-Allow-Origin" : @"*", // CORS
@"Access-Control-Allow-Credentials" : @"true"
} mutableCopy]; } mutableCopy];
} }