Fix sort clients (#1290)
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
This commit is contained in:
+3
-3
@@ -92,7 +92,7 @@ module.exports = class Server {
|
||||
|
||||
.get('/api/ui-traffic-stats', defineEventHandler((event) => {
|
||||
setHeader(event, 'Content-Type', 'application/json');
|
||||
return `"${UI_TRAFFIC_STATS}"`;
|
||||
return `${UI_TRAFFIC_STATS}`;
|
||||
}))
|
||||
|
||||
.get('/api/ui-chart-type', defineEventHandler((event) => {
|
||||
@@ -102,12 +102,12 @@ module.exports = class Server {
|
||||
|
||||
.get('/api/ui-show-links', defineEventHandler((event) => {
|
||||
setHeader(event, 'Content-Type', 'application/json');
|
||||
return `"${UI_SHOW_LINKS}"`;
|
||||
return `${UI_SHOW_LINKS}`;
|
||||
}))
|
||||
|
||||
.get('/api/ui-sort-clients', defineEventHandler((event) => {
|
||||
setHeader(event, 'Content-Type', 'application/json');
|
||||
return `"${UI_ENABLE_SORT_CLIENTS}"`;
|
||||
return `${UI_ENABLE_SORT_CLIENTS}`;
|
||||
}))
|
||||
|
||||
// Authentication
|
||||
|
||||
Reference in New Issue
Block a user