@ccci/micro-server 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99234,6 +99234,7 @@ class WebSocketServer {
|
|
|
99234
99234
|
constructor(app, folderName = "sockets") {
|
|
99235
99235
|
WebSocketServer.io = new Server(app);
|
|
99236
99236
|
WebSocketServer.io.on("connection", (socket) => {
|
|
99237
|
+
console.log("connected :>> ", socket);
|
|
99237
99238
|
fs3.readdirSync(folderName).forEach((file) => {
|
|
99238
99239
|
let fullName = path2.join(folderName, file);
|
|
99239
99240
|
if (file.toLowerCase().indexOf(".js") || file.toLowerCase().indexOf(".ts")) {
|