removed unused stuff, changed natQ to use opnsense api

This commit is contained in:
2026-03-21 14:54:25 +02:00
parent 08cfad14ac
commit 1b023ea802
7 changed files with 88 additions and 158 deletions

View File

@@ -8,7 +8,6 @@ import { fileURLToPath } from 'url';
dotenv.config();
import webhookRouter from './routes/webhook.js';
import execRouter from './routes/exec.js';
import { info } from './util/Console.js';
@@ -19,7 +18,6 @@ app.use(cookieParser());
app.use(express.static('public'));
app.use('/webhook', webhookRouter);
app.use('/exec', execRouter);
const PORT = process.env.PORT || 3000;
const HOST = process.env.BIND_ADDRESS || '0.0.0.0';