Adjust pulling in config

This commit is contained in:
Owen 2025-08-12 16:47:59 -07:00
parent 880a123149
commit 3d8869066a
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
6 changed files with 26 additions and 32 deletions

View file

@ -56,6 +56,10 @@ export async function createHybridClientServer() {
await deletePeer(exitNode.exitNodeId, pubKey);
});
client.registerHandler("remote/traefik/reload", async (message) => {
await monitor.HandleTraefikConfig();
});
// Listen to connection events
client.on("connect", () => {
console.log("Connected to WebSocket server");