Skip to content

Commit ed41c71

Browse files
author
Joost de Vries
committed
Fixed websocket url after #5
1 parent 61be297 commit ed41c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
return '<script src="' + scheme + '//' + host + ':' + port + '/socket.io/socket.io.js" type="text/javascript"></script>' +
2020
'<script type="text/javascript">' +
2121
' window.EMBER_INSPECTOR_CONFIG = window.EMBER_INSPECTOR_CONFIG || {};' +
22-
' window.EMBER_INSPECTOR_CONFIG.remoteDebugSocket = io(\'' + scheme + '//' + host + ':'+port+'\');' +
22+
' window.EMBER_INSPECTOR_CONFIG.remoteDebugSocket = io(\'' + (scheme ? scheme+'//' : '') + host + ':'+port+'\');' +
2323
'</script>';
2424
},
2525

0 commit comments

Comments
 (0)