Browse Source

fixup: Server.js

pull/1227/head
Philip H. 2 years ago
committed by GitHub
parent
commit
a6fba3b143
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      src/lib/Server.js

6
src/lib/Server.js

@ -102,12 +102,12 @@ module.exports = class Server {
.get('/api/ui-show-links', defineEventHandler((event) => { .get('/api/ui-show-links', defineEventHandler((event) => {
setHeader(event, 'Content-Type', 'application/json'); setHeader(event, 'Content-Type', 'application/json');
return `${UI_SHOW_LINKS}`; return `"${UI_SHOW_LINKS}"`;
}))
.get('/api/ui-sort-clients', defineEventHandler((event) => { .get('/api/ui-sort-clients', defineEventHandler((event) => {
setHeader(event, 'Content-Type', 'application/json'); setHeader(event, 'Content-Type', 'application/json');
return UI_ENABLE_SORT_CLIENTS; return `"${UI_ENABLE_SORT_CLIENTS}"`;
})) }))
// Authentication // Authentication

Loading…
Cancel
Save