Server.js: remove white-space

This commit is contained in:
Philip H
2024-03-14 08:57:38 +01:00
committed by GitHub
parent 8c771b054c
commit 08c412fd14

View File

@@ -66,7 +66,7 @@ module.exports = class Server {
.get('/api/ui-traffic-stats', (Util.promisify(async () => {
return UI_TRAFFIC_STATS === 'true';
}))
// Authentication
.get('/api/session', defineEventHandler((event) => {
const requiresPassword = !!process.env.PASSWORD;