@ccci/micro-server 1.0.18 → 1.0.19
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 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87653,7 +87653,7 @@ class RouterFactory {
|
|
|
87653
87653
|
import fs3 from "node:fs";
|
|
87654
87654
|
import path2 from "node:path";
|
|
87655
87655
|
class WebSocketServer {
|
|
87656
|
-
constructor(port =
|
|
87656
|
+
constructor(port = 5001, dir = "sockets") {
|
|
87657
87657
|
let handlers = [];
|
|
87658
87658
|
fs3.readdirSync(dir).forEach((file) => {
|
|
87659
87659
|
if (file.toLowerCase().indexOf(".ts")) {
|