Skip to content

Commit

Permalink
Fixed redis log websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
thesecretmaster committed Mar 15, 2019
1 parent 6be1bb5 commit 5c96e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/cable/redis_logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $(document).ready(() => {

/* TODO: Add websockets to the other pages */
let redis;
route('/redis_log/index', () => {
route('/dev/request-log', () => {
redis = cable.subscriptions.create('RedisLogChannel', {
received(data) {
const matchedLog = $('#logs div[data-log-id="' + data.key + '"]');
Expand Down

0 comments on commit 5c96e31

Please sign in to comment.