mirror of https://github.com/mthenw/frontail.git
Fix websocket error during handshake (#195)
See [this SO issue](https://stackoverflow.com/questions/41381444/websocket-connection-failed-error-during-websocket-handshake-unexpected-respo)pull/199/head
parent
c12a1878de
commit
0aad9dd2dc
|
@ -39,7 +39,8 @@
|
|||
<script src="__PATH__/app.js"></script>
|
||||
<script type="text/javascript">
|
||||
var socket = new io.connect('/__NAMESPACE__', {
|
||||
path: '__PATH__/socket.io'
|
||||
path: '__PATH__/socket.io',
|
||||
transports: ['websocket']
|
||||
});
|
||||
|
||||
window.load = App.init({
|
||||
|
|
Loading…
Reference in New Issue