We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd3497a commit 23f6cebCopy full SHA for 23f6ceb
src/sockjs.coffee
@@ -108,10 +108,10 @@ generate_dispatcher = (options) ->
108
class Listener
109
constructor: (@options, emit) ->
110
@app = new App()
111
- @app.options = options
+ @app.options = @options
112
@app.emit = emit
113
@app.log('debug', 'SockJS v' + sockjsVersion() + ' ' +
114
- 'bound to ' + JSON.stringify(options.prefix))
+ 'bound to ' + JSON.stringify(@options.prefix))
115
@dispatcher = generate_dispatcher(@options)
116
@webjs_handler = webjs.generateHandler(@app, @dispatcher)
117
@path_regexp = new RegExp('^' + @options.prefix + '([/].+|[/]?)$')
0 commit comments