Fix lint errors

This commit is contained in:
Sergei Birukov 2024-02-13 19:30:34 +03:00
parent fa392cf260
commit 45147ee7c4
2 changed files with 8 additions and 8 deletions

View File

@ -46,7 +46,7 @@ module.exports = class Server {
return LANG;
})))
.get('/api/ui-detailed-stats', (Util.promisify(async () => {
return UI_DETAILED_STATS === 'true' ? true : false;
return UI_DETAILED_STATS === 'true';
})))
// Authentication

View File

@ -7,12 +7,12 @@ module.exports = {
content: ['./www/**/*.{html,js}'],
theme: {
screens: {
'xs': '576px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
xs: '576px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
}
}
},
},
};