mirror of
https://codeberg.org/teddit/teddit
synced 2025-02-17 20:50:35 +01:00
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…
x
Reference in New Issue
Block a user