mirror of
https://github.com/wg-easy/wg-easy.git
synced 2025-10-30 02:32:07 +08:00
Server.js: remove white-space
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user