usage -> traffic

This commit is contained in:
Peter Lewis 2024-02-25 22:02:53 +00:00
parent 117d713ee1
commit ebc5173bd0
No known key found for this signature in database
7 changed files with 17 additions and 17 deletions

View file

@ -18,7 +18,7 @@ const {
RELEASE,
PASSWORD,
LANG,
UI_USAGE_STATS,
UI_TRAFFIC_STATS,
} = require('../config');
module.exports = class Server {
@ -45,8 +45,8 @@ module.exports = class Server {
.get('/api/lang', (Util.promisify(async () => {
return LANG;
})))
.get('/api/ui-usage-stats', (Util.promisify(async () => {
return UI_USAGE_STATS === 'true';
.get('/api/ui-traffic-stats', (Util.promisify(async () => {
return UI_TRAFFIC_STATS === 'true';
})))
// Authentication