]> cat aescling's git repositories - mastodon.git/commit
Add transparent support for EventSource streaming. (#12887)
authorBen Lubar <ben.lubar@gmail.com>
Tue, 21 Jan 2020 17:57:21 +0000 (11:57 -0600)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 21 Jan 2020 17:57:21 +0000 (18:57 +0100)
commit619da5a4dc00e51d28b29bfe5230125a78c1fac9
tree6ae002f595a68ab8a478012c7c3b886b4931572e
parente1c5f43039553b0ca867c02a6e4ffa44819dd225
Add transparent support for EventSource streaming. (#12887)

This activates if the streaming base URL does not start with "ws".
All currently-live streaming base URLs start with "wss://".
app/javascript/mastodon/stream.js