neue-be-mcp 1.3.0 → 1.3.2
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/bundle.mjs +1 -6
- package/package.json +1 -1
package/dist/bundle.mjs
CHANGED
|
@@ -11780,7 +11780,7 @@ var import_websocket = __toESM(require_websocket(), 1);
|
|
|
11780
11780
|
var import_websocket_server = __toESM(require_websocket_server(), 1);
|
|
11781
11781
|
|
|
11782
11782
|
// preview-server.ts
|
|
11783
|
-
var PORT =
|
|
11783
|
+
var PORT = 24089;
|
|
11784
11784
|
var ALLOWED_ORIGINS = [
|
|
11785
11785
|
"https://neue-be.com",
|
|
11786
11786
|
"http://localhost:5173",
|
|
@@ -11811,11 +11811,6 @@ function startPreviewServer() {
|
|
|
11811
11811
|
clients.add(ws);
|
|
11812
11812
|
console.error(`[preview] Browser connected (${clients.size} client(s))`);
|
|
11813
11813
|
ws.on("message", (data) => {
|
|
11814
|
-
try {
|
|
11815
|
-
const parsed = JSON.parse(data.toString());
|
|
11816
|
-
if (parsed.type === "export") return;
|
|
11817
|
-
} catch {
|
|
11818
|
-
}
|
|
11819
11814
|
for (const other of clients) {
|
|
11820
11815
|
if (other !== ws && other.readyState === import_websocket.default.OPEN) {
|
|
11821
11816
|
other.send(data.toString());
|