dummy-corsproxy

Proxy to access resources that lack the Access-Control-Allow-Origin * header

Usage no npm install needed!

<script type="module">
  import dummyCorsproxy from 'https://cdn.skypack.dev/dummy-corsproxy';
</script>

README

dummy-corsproxy

Fork of simple-corsproxy by Bruno Vieira

Differencies:

  • forward of original request status and headers
  • environment variable changed to PROXY_PORT
  • console print

Proxy to access resources that lack the Access-Control-Allow-Origin * header

Install

$ npm install dummy-corsproxy -g

Usage

$ dummy-corsproxy
=> Listening on port: 8080 # or environment variable PROXY_PORT

Add the url to the proxy path, like:

http://localhost:8080/https://google.com

License

MIT