Jairo
cd058d056c
update ws version
2018-08-13 10:14:36 +02:00
Jairo Caro-Accino Viciana
177d4f0f6a
Update server.js
...
fix bug
2018-08-13 10:05:25 +02:00
Jairo Caro-Accino Viciana
5012793f23
Update server.js
...
Ignore token if not configured
2018-08-13 09:59:34 +02:00
Marco Tundo
19d6380927
Fix for update to ws@5.2.0 module.
2018-07-16 22:16:29 +02:00
Esteban Ordano
66db80c00d
Fixes crash when user is not properly identified
2015-05-26 10:54:37 -03:00
Michelle Bu
63446067fa
Don't use self-rolled CORS
2014-11-01 21:48:46 -07:00
Michelle Bu
0c8f4b8525
Fix heroku deploy
2014-11-01 14:39:25 -07:00
Michelle Bu
1c7ba7f77f
Merge branch 'michelle-express-rewrite'
2014-11-01 14:38:21 -07:00
Michelle Bu
8aa939b609
4 spaces -> 2 spaces
2014-11-01 13:16:17 -07:00
Jonathan Johnson
8defe3718c
use path option instead of root
2014-11-01 14:42:36 -05:00
Jonathan Johnson
bd101ab44f
enable "Deploy to Heroku" Button
2014-10-23 09:03:20 -05:00
lmb
d1a24d5711
Fix tests
2014-10-20 09:52:45 +01:00
lmb
9b9c6f168a
Only parser JSON from body when needed
2014-10-18 16:25:06 +01:00
lmb
9429006ee4
Clean up API
2014-10-18 16:07:40 +01:00
lmb
33c4f0b01b
Update to express 4.x
2014-10-18 13:30:45 +01:00
Vsevolod Strukchinsky
2ce55f8e33
Pass server
or port
option to PeerServer
...
This allows to initialize websocket server properly
2014-10-18 12:34:14 +01:00
Vsevolod Strukchinsky
bcb585065b
Remove return next()
- they are unnecessary in express
2014-10-18 12:34:14 +01:00
Vsevolod Strukchinsky
9e0d861715
Migrate to express from restify
...
PeerServer is now instance of express application - this allows to combine it with other express applications.
Listen is deferred - because it now method from express (you can call it later and supply callback for start event).
Constructor now not using `new` (because we mixing in methods to express app)
Closes #36
2014-10-18 12:34:14 +01:00
Michelle Bu
6cfbe60031
Hack to fix #49 until we can move to express.
2014-08-29 02:06:20 -04:00
Michelle Bu
50765a09c9
Format comment
2014-04-13 21:42:51 -07:00
Marcelo Casiraghi
10ad6b46f5
Add support for configurable server ip address
2014-04-06 16:13:05 -03:00
Michelle Bu
983c86b639
May not need to stringify
2014-03-09 14:29:13 -07:00
Michelle Bu
8c1eb5d978
Allow discovery
2014-03-09 13:29:21 -07:00
Michelle Bu
4fc23261b3
Add option
2014-03-01 12:28:23 -08:00
Michelle Bu
766442d281
Fixes #32
2014-02-03 19:25:53 -08:00
Michelle Bu
1f246028e4
Merge pull request #29 from peers/events
...
Emit connection/disconnect events.
2014-01-05 12:00:35 -08:00
Michelle Bu
a17fe6380a
Addresses #23
2013-12-23 23:28:24 -05:00
hij1nx
64966ba208
removes unused require and updates deps
2013-10-28 16:48:52 -07:00
Michelle Bu
84acb8a217
handleTransmission tests
2013-10-19 00:14:51 -07:00
Michelle Bu
5affb856d8
Remove ugly switch
2013-10-18 20:04:05 -07:00
yosssi
32381d1f2f
Deleted the unused variable.
2013-10-07 22:25:56 +09:00
yosssi
974f00c996
fixed some syntax mistakes.
2013-10-07 10:22:14 +09:00
Ilya Grigorik
443680f139
fix ip lookup
2013-07-05 22:42:30 -07:00
Michelle Bu
70ee781154
ssl options, closes #13
2013-06-15 19:21:07 -07:00
Michelle Bu
c0130c418b
remove whitespace
2013-06-15 18:31:44 -07:00
Michelle Bu
eb0ddfcc6b
update for lack of port firefoxism
2013-04-24 09:23:35 -07:00
Michelle Bu
b6f033e4e8
remove commented out part
2013-04-05 14:05:00 -07:00
Michelle Bu
24805444cc
restify fixes
2013-04-05 11:12:07 -07:00
David Gage
00b41d6d02
got this working with restify (as far as I can tell anyway)
2013-04-02 16:50:25 -04:00
Michelle Bu
8f2f7cef6f
firefox port
2013-03-31 01:01:18 -05:00
ericz
d5f72731ab
fix xhr race condition
2013-02-15 10:25:09 -08:00
ericz
c76064301f
retry if no key available
2013-02-15 09:49:56 -08:00
ericz
55e5599428
cleanup cleanup code
2013-02-15 09:20:32 -08:00
ericz
08957a0aa6
prevent missing key errors
2013-02-13 10:16:23 -08:00
Michelle Bu
c1b8196744
setInterval to clean up ips
2013-02-13 01:46:58 -08:00
ericz
6bd6b2460e
working
2013-02-13 01:31:52 -08:00
ericz
9760350959
merge
2013-02-13 01:30:07 -08:00
ericz
7547f5f1ae
json stringify erros
2013-02-13 01:28:06 -08:00
ericz
0dcf44ded3
working
2013-02-13 00:28:39 -08:00
ericz
2a0ddb2769
remove console.log
2013-02-13 00:10:34 -08:00