0.3.3 • Published 10 years ago

relayed v0.3.3

Weekly downloads
19
License
BSD-2-Clause
Repository
github
Last release
10 years ago

Relayed

Convenient Shell/Node script for circumventing CORS issues when developing on localhost.

Via npm: npm install relayed -g

May require sudo access.

Functionality

When you're developing on localhost, you may not want to go through configuring CORS when making AJAX requests. Instead Relayed relays all requests to the foreign server via localhost.

  • All parameters are passed along;
  • Correct HTTP verbs are maintained;
  • HTTPS/HTTP protocols supported;

Getting Started

The recommended method is running it via the Shell script.

relayed -h npm.org -p 80

Open localhost:8910 in your browser and npm.org will be returned. Please remember that Relayed is only for development.

Options

  • -h <host> Hostname to relay to (required);
  • -p <port> Port number of the host (defaults to 80);
  • -s Use HTTPS for the transport protocol;
  • -o Open localhost:8910 in your browser;
0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.2.2

10 years ago

0.2.0

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago