This commit is contained in:
Raven Scott
2026-04-22 05:22:21 -04:00
parent 2f53540b1e
commit 0dd2539f66
3 changed files with 53 additions and 4 deletions
@@ -93,7 +93,13 @@ export async function ensureBareOsWwwHolesailTunnel(ctx, env, port) {
}
}
state.connections[id] = want
/** @type {Record<string, unknown>} */
const next = { ...want }
if (existing && typeof existing === 'object') {
const k = String(/** @type {Record<string, unknown>} */ (existing).key ?? '').trim()
if (k) next.key = k
}
state.connections[id] = next
await bareHolesailManagedWriteState(ctx, gEnv, state)
void path
if (bareHolesailManagedServiceIsRunning()) {