Comparing version 1.0.1 to 1.0.2
@@ -334,2 +334,13 @@ module.exports = function (browser) { | ||
// must delete values before re set | ||
delete details.responseHeaders['Access-Control-Allow-Credentials'.toLowerCase()] | ||
delete details.responseHeaders['Access-Control-Allow-Methods'.toLowerCase()] | ||
delete details.responseHeaders['Access-Control-Allow-Headers'.toLowerCase()] | ||
delete details.responseHeaders['access-control-allow-origin'.toLowerCase()] | ||
details.responseHeaders["Access-Control-Allow-Credentials".toLowerCase()] = "true" | ||
details.responseHeaders["Access-Control-Allow-Methods".toLowerCase()] = "POST,GET,DELETE,PUT,OPTIONS,VIEW,HEAD,CONNECT,TRACE" | ||
details.responseHeaders["Access-Control-Allow-Headers".toLowerCase()] = "Origin, X-Requested-With, Content-Type, Accept" | ||
details.responseHeaders["Access-Control-Allow-Origin".toLowerCase()] = "*" | ||
callback({ | ||
@@ -336,0 +347,0 @@ cancel: false, |
{ | ||
"name": "ibrowser", | ||
"version": "1.0.1", | ||
"description": "", | ||
"version": "1.0.2", | ||
"description": "Integration For Social-browser.com", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92683
2391