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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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