Skip to content

Commit

Permalink
Removed harcoded exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
danidee10 committed Jan 17, 2018
1 parent 0a7cef7 commit 316a451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def application(env, start_response):
result = channel.queue_declare(exclusive=True)
queue_name = result.method.queue # random queue name generated by RabbitMQ

channel.queue_bind(exchange='fe662fd9de834fc', queue=queue_name)
channel.queue_bind(exchange=exchange, queue=queue_name)

uwsgi.websocket_handshake(
env['HTTP_SEC_WEBSOCKET_KEY'],
Expand Down

0 comments on commit 316a451

Please sign in to comment.