remove semicolons

This commit is contained in:
orenom
2022-07-23 17:40:09 +02:00
parent 464481c1e7
commit 0ba14b8bb7
+5 -5
View File
@@ -70,11 +70,11 @@ module.exports = function(redis) {
*/
// load custom language specific languages
let lang_suffix = '';
let load_custom_styles = ['fr', 'ko'];
let lang_suffix = ''
let load_custom_styles = ['fr', 'ko']
if(load_custom_styles.includes(lang)) {
lang_suffix = '_' + lang;
lang_suffix = '_' + lang
}
if(theme === 'white') {
@@ -450,11 +450,11 @@ module.exports = function(redis) {
}
this.customLogos = (req) => {
const lang = getLang(req);
const lang = getLang(req)
if(lang === 'fr') {
return path.join(__dirname, '..', 'static', 'fr', path.basename(req.url))
}
return false;
return false
}
this.getLang = (req=false) => {