Skip to content

Commit

Permalink
chore: debug broadcastMessage on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
ynwd committed Dec 4, 2024
1 parent 7148482 commit c478d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/socket/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function socketModule(s: Fastro) {
const c = ctx.stores.get("connected");
if (!c) return;
const entries = c.entries().toArray();
// console.log("broadcastMessage:", JSON.stringify(entries));
console.log("broadcastMessage:", JSON.stringify(entries));
if (entries) {
for (const key in entries) {
const [, { value: { socket } }] = entries[key];
Expand Down

0 comments on commit c478d62

Please sign in to comment.