removed unused stuff, changed natQ to use opnsense api
This commit is contained in:
2
index.js
2
index.js
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user