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) {
_contentType = contentType;
_httpHeaders = [@{
@"Content-Type" : _contentType ?: @"application/octet-stream"
@"Content-Type" : _contentType ?: @"application/octet-stream",
@"Access-Control-Allow-Origin" : @"*", // CORS
@"Access-Control-Allow-Credentials" : @"true"
} mutableCopy];
}