UNPKG

fd-proxy-server

Version:

Proxy server for http requests

39 lines (26 loc) 666 B
# 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/ ```