Jerko Steiner 795d31f89f Add ability to set custom base url (reverse proxy)
The URL can be set by either:

1. Setting the `baseUrl` property in `config/default.json`,
   `config/local.json`, or `config/${NODE_ENV}.json` file.
2. Setting the `PEERCALLS_BASE_URL` environment variable.

For example:

```
$ PEERCALLS_BASE_URL=/test1/test2 npm start

> peer-calls@2.0.3 start /peer-calls
> node src/index.js

  peercalls WebSocket URL: /test1/test2/ws +0ms
  peercalls Listening on: 3000 +76ms
```

In this case, opening `http://localhost:3000/test1/test2` would open the
homepage.

Fix #42
2017-08-17 20:14:17 -04:00
2017-06-20 18:40:19 -04:00
2017-06-17 11:06:48 -04:00
2017-06-17 11:06:48 -04:00
2017-06-17 11:06:48 -04:00
2016-04-03 13:18:58 -04:00
2017-06-18 09:41:06 -04:00
2017-06-18 09:41:06 -04:00
2017-06-20 22:27:37 -04:00
2017-06-18 09:41:06 -04:00

Peer Calls

Build Status

WebRTC peer to peer calls for everyone. See it live in action at peercalls.com.

Work in progress.

Requirements

Installation & Running

From git source:

git clone https://github.com/jeremija/peer-calls.git
cd peer-calls
npm install

# for production
npm start
npm run build

# for development
npm run start:watch

To run a development version, type:

If you successfully completed the above steps, your commandline/terminal should show that your node server is listening.

On your other machine or mobile device open the url:

http://<your_ip_or_localhost>:3000

# Testing

```bash
npm install
npm test

Browser Support

Tested on Firefox and Chrome, including mobile versions.

Does not work on iOS 10, but should work on iOS 11 (untested).

For more details, see here:

Contributing

See Contributing section.

License

MIT

Description
No description provided
Readme 4 MiB
Languages
TypeScript 88.9%
SCSS 9.3%
HTML 1.1%
JavaScript 0.4%
Dockerfile 0.3%