Add compiled JS files

This commit is contained in:
2025-06-04 02:23:42 -07:00
parent b68f0f4b57
commit af49c60415
2 changed files with 5 additions and 7 deletions

View File

@@ -177,8 +177,6 @@ export class App {
continue;
}
console.log.apply(null, log(`[app] calling getPostIDsForUser for user [${logID(userID)}] on peer [${logID(sendingPeerID)}]`));
this.statusBar.updatePeerStatus(sendingPeerID, `getPostIDs(${logID(userID)})⬆️`);
let postIDs = await this.peerManager?.rpc.getPostIDsForUser(sendingPeerID, userID);
this.statusBar.updatePeerStatus(sendingPeerID, `syncing(${logID(userID)} ${postIDs.length})`);
console.log.apply(null, log(`[app] Got (${postIDs.length}) post IDs for user [${logID(userID)}] from peer [${logID(sendingPeerID)}]`));

View File

@@ -163,7 +163,7 @@ export class PeerManager {
this.eventListeners = new Map();
this.reconnectPeriod = 10;
this.messageSuperlog = false;
this.watchdogInterval = 0;
this.watchdogInterval = null;
this.reconnectTimer = null;
this.peerStateSuperlog = true;
// async watchdog() {
@@ -693,9 +693,9 @@ PeerConnection.config = {
{ urls: "stun:ddln.app" },
// { urls: "turn:ddln.app", username: "a", credential: "b" },
{ urls: "stun:stun.l.google.com" }, // keeping this for now as my STUN server is not returning ipv6
// { urls: "stun:stun1.l.google.com" },
// { urls: "stun:stun2.l.google.com" },
// { urls: "stun:stun3.l.google.com" },
// { urls: "stun:stun4.l.google.com" },
{ urls: "stun:stun1.l.google.com" },
{ urls: "stun:stun2.l.google.com" },
{ urls: "stun:stun3.l.google.com" },
{ urls: "stun:stun4.l.google.com" },
],
};