twonds / punjab

BOSH connection manager
MIT License
183 stars 49 forks source link

CORS headers for punjab #58

Closed evert closed 9 years ago

evert commented 9 years ago

Hello!

I'm interested in using punjab to connect my javascript application to xmpp services, and I'm hoping to use punjab for this.

The issue I'm running into is that my javascript application is not allowed to connect to the punjab server, because it's not emitting the appropriate CORS headers.

Are you guys planning on adding a way to configure this or add a good default set of options? It would be tremendously helpful =)

evert commented 9 years ago

Ignore this. I didn't realize that I needed /http-bind in the url.