Use proper https_enabled flag
This commit is contained in:
parent
ee7508b24a
commit
4bb02eaf03
|
@ -58,7 +58,7 @@ module.exports = function(request, fs) {
|
|||
domain_replaced = true
|
||||
}
|
||||
|
||||
if(domain_replaced && !user_preferences.https_enabled) {
|
||||
if(domain_replaced && !config.https_enabled) {
|
||||
url = url.replace('https:', 'http:')
|
||||
}
|
||||
} catch(e) { }
|
||||
|
|
Loading…
Reference in New Issue