node.js - How to change the folder where socket.io is fetching the socket.io.js JavaScript file? -
the statement
<script src="/socket.io/socket.io.js"></script>
looks socket.io.js in 'public' folder instead of node_module.
changing url ../node_module/socket.io/socket.io.js
not work.
how change default folder src
looks into?
socketio sever when receives request '/socket.io/socket.io.js' , dynamically builds content ( considering transports configured supported server ).
the file neither served public / node modules.
Comments
Post a Comment