5 Commits

Author SHA1 Message Date
b7314643cc Add ability to run a https server 2017-10-29 14:22:51 -04:00
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
57b3d3ca6a Migrate to redux
Detailed list of changes

1. Migrate off flux to redux stores, closes #35
2. Reorganize stores
3. Use PureComponents, closes #36
4. Rewrite most tests, increase coverage to 100%, closes #17
5. Allow preview to people without camera & mic, closes #26
6. Add package-lock.json for npm 5
7. Add mock of window object, closes #13
2017-06-18 09:36:53 -04:00
f376f579c0 Change default stun server 2017-05-30 20:11:18 -04:00
ddb54a28e2 Add support for coturn authentication 2017-05-30 20:11:18 -04:00