more frontend for clients

This commit is contained in:
miloschwartz 2025-02-21 17:13:23 -05:00
parent 204403da67
commit 3830ad65fc
No known key found for this signature in database
3 changed files with 22 additions and 21 deletions

View file

@ -20,7 +20,7 @@ export const handleGetConfigMessage: MessageHandler = async (context) => {
const newt = client as Newt;
logger.debug(JSON.stringify(message.data));
logger.debug("Handling Newt get config message!");
@ -60,7 +60,7 @@ export const handleGetConfigMessage: MessageHandler = async (context) => {
let site: Site | undefined;
if (!site) {
const address = await getNextAvailableSubnet();
const listenPort = await getNextAvailablePort();
const listenPort = await getNextAvailablePort();
// create a new exit node
const [updateRes] = await db