Socket
Socket
Sign inDemoInstall

corsproxy

Package Overview
Dependencies
150
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

4

lib/add-cors-headers.js

@@ -27,5 +27,5 @@ module.exports = function addCorsHeaders (request, reply) {

response.statusCode = 200
if (request.headers['Allow-Control-Request-Headers']) {
if (request.headers['access-control-request-headers']) {
addAllowedHeaders(
request.headers['Allow-Control-Request-Headers'].split(',')
request.headers['access-control-request-headers'].split(',')
)

@@ -32,0 +32,0 @@ }

{
"name": "corsproxy",
"description": "standalone CORS proxy",
"version": "1.0.0",
"version": "1.1.0",
"main": "./index.js",

@@ -6,0 +6,0 @@ "author": {

@@ -18,4 +18,4 @@ # corsproxy

- http://localhost:9292/localhost:3000/sign_in
- http://localhost:9292/my.domain.com/path/to/resource
- http://localhost:1337/localhost:3000/sign_in
- http://localhost:1337/my.domain.com/path/to/resource
- etc etc

@@ -22,0 +22,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc