Fixes #61 - Http/2 support can now be disabled

This commit is contained in:
Jamie Curnow 2019-02-18 15:33:32 +10:00
parent 44e5f0957c
commit 4d754275ab

View File

@ -62,6 +62,7 @@ module.exports = Mn.View.extend({
data.block_exploits = !!data.block_exploits;
data.caching_enabled = !!data.caching_enabled;
data.allow_websocket_upgrade = !!data.allow_websocket_upgrade;
data.http2_support = !!data.http2_support;
if (typeof data.ssl_forced !== 'undefined' && data.ssl_forced === '1') {
data.ssl_forced = true;