node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

fd-proxy-server

fd-proxy-server

A proxy server to make http requests through different domain (for avoiding CORS).

Installation

npm install fd-proxy-server

Usage

Usage: fd-proxy [OPTIONS] [...tasks]
 
  Run specified tasks.
 
  Options:
    --port [...tasks]     Run proxy server on specific port.
    --endpoint [...tasks] Run proxy with specified endpoint.
Note: By defauld nodejs proxy server port is 3333, endpoint - http://localhost:8765 (fd-proxy-server/config.js).

Examples

fd-proxy --port 4121
fd-proxy --endpoint https://www.endpoint.com/

or both:

fd-proxy --port 4121 --endpoint https://www.endpoint.com/