feat(wireguard): bootstrap server keypair and default site exit node, fix UI confirmation actionMessage and query token auth (#43)

This commit is contained in:
2026-08-09 00:08:55 -04:00
committed by GitHub
parent 43349579e1
commit 03dd903e07
7 changed files with 488 additions and 604 deletions
+3 -1
View File
@@ -15,8 +15,10 @@ const { Server } = require('socket.io');
// createOidcClient), so the fetch MUST resolve before require('../models').
// Fail-soft: if OpenBao is unreachable, init() leaves conf as the file-loaded
// fallback and boot continues from ./config/jump-secrets.js.
require('@simpleworkjs/bao-conf').init({ path: 'jump-host', conf }).then(() => {
require('@simpleworkjs/bao-conf').init({ path: 'jump-host', conf }).then(async () => {
require('../models');
const { bootstrapWireguard } = require('../services/wg_bootstrap');
await bootstrapWireguard();
const app = require('../app');
const middleware = require('../middleware/auth');