1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-02-26 08:47:56 +01:00

Use proper https_enabled flag

This commit is contained in:
analogue 2022-03-29 20:22:30 +00:00
parent ee7508b24a
commit 4bb02eaf03

View File

@ -58,7 +58,7 @@ module.exports = function(request, fs) {
domain_replaced = true domain_replaced = true
} }
if(domain_replaced && !user_preferences.https_enabled) { if(domain_replaced && !config.https_enabled) {
url = url.replace('https:', 'http:') url = url.replace('https:', 'http:')
} }
} catch(e) { } } catch(e) { }