#cors #http-service #header #proxy #add

app clia-cors-proxy

A http service proxy to add CORS headers

3 unstable releases

0.2.0 Jan 18, 2023
0.1.1 Jan 12, 2023
0.1.0 Jan 12, 2023

#16 in #cors

MIT license

13KB
120 lines

clia-cors-proxy

A http service proxy to add CORS headers.

Usage

clia-cors-proxy <LISTEN ADDR> <LISTEN PORT> <FWD ADDR> <FWD PORT>

Examples:

clia-cors-proxy localhost 19002 localhost 19001
clia-cors-proxy localhost 19003 example.com 80

Changelog

  • Version 0.2.0: Direct respond for OPTIONS requests.
  • Version 0.1.1: Improve log output.
  • Version 0.1.0: Initial version.

Dependencies

~21–32MB
~556K SLoC