Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var io = require('socket.io')(httpServer, {path: '/mysubdir/socket.io'})`
- <script src="http://www.example.com/mysubdir/socket.io/socket.io.js"></script>
- var socket = io.connect('http://www.example.com', {path: "/mysubdir/socket.io"});`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement