Whitelist to check listen mode via console

This commit is contained in:
Cohee
2024-03-30 22:42:51 +02:00
parent 4d98310848
commit c94460714d
2 changed files with 30 additions and 24 deletions

View File

@@ -123,7 +123,7 @@ app.use(CORS);
if (listen && getConfigValue('basicAuthMode', false)) app.use(basicAuthMiddleware);
app.use(whitelistMiddleware);
app.use(whitelistMiddleware(listen));
// CSRF Protection //
if (!cliArguments.disableCsrf) {