14 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
7d9f5dce01 Show version on front page 2017-06-18 10:35:38 -04:00
609f370de0 Add more server-side tests 2017-06-18 09:21:17 -04:00
e0474ccb4f Make calls work 2017-06-17 13:22:40 -04:00
b8ebbf8cc4 Fix build 2017-06-17 11:06:48 -04:00
b50eb79463 Use standard linter 2017-06-08 19:47:45 -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
8969ff219f Redesigned front page 2016-04-05 20:12:12 -04:00
Jerko Steiner
bd8e7a67f6 Refactor call initialization 2016-04-04 18:22:21 -04:00
Jerko Steiner
f92bb8a6c1 Rename src/js to src/client 2016-04-04 18:01:31 -04:00
9efe7474a2 Add input form 2016-03-31 20:00:51 -04:00
ee9a5ea193 Split index.js to two files 2016-03-31 18:54:11 -04:00