11 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
cc1639eade Add compatibility layer for iOS 11 2017-06-20 19:11:51 -04:00
cad9b70d50 Add ACTIVE_TOGGLE 2017-06-18 08:24:01 -04:00
edda50b287 Reorganize window 2017-06-17 23:14:26 -04:00
368fa5102b Move peer stuff to actions 2017-06-17 22:54:29 -04:00
b8ebbf8cc4 Fix build 2017-06-17 11:06:48 -04:00
06821e1fce Increase test coverage 2017-06-17 10:43:01 -04:00
300afd6b2f Add tests for actions & reducers 2017-06-17 09:49:48 -04:00
33b891f170 First unit test 2017-06-14 21:05:12 -04:00
15e446b540 browserify/sass build working 2017-06-09 00:02:22 -04:00
80c8be2f56 Middle of refactor 2017-06-08 21:35:24 -04:00