mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-04-19 21:54:58 -04:00
Use proper https_enabled flag
This commit is contained in:
+1
-1
@@ -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) { }
|
||||
|
||||
Reference in New Issue
Block a user