9 Commits

Author SHA1 Message Date
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
b50eb79463 Use standard linter 2017-06-08 19:47:45 -04:00
ddb54a28e2 Add support for coturn authentication 2017-05-30 20:11:18 -04:00
db493d5901 Fix formatting in routes 2016-04-24 14:48:45 -04:00
add5b707d1 Fix front page call redirect 2016-04-24 12:13:45 -04:00
c675e553c2 Fix /call redirect with/wo trailing slash 2016-04-24 12:08:33 -04:00
8e1cef5408 Fix new call redirect bug 2016-04-24 10:39:39 -04:00
3b95107bbc Make it work on Firefox 2016-04-24 10:37:30 -04:00
Krishna Halaharvi
fe79da8e8f Issue #18 adding Express.Router (#20)
* Issue #18 adding Express.Router

* Updating failed pull with eslint recomended changes
2016-04-10 14:55:54 -04:00