1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-08-31 01:01:09 +03:00

Fix unsetting http2_support

This commit is contained in:
Jamie Curnow
2018-11-13 20:51:55 +10:00
parent a457a40359
commit 411734f392
3 changed files with 7 additions and 7 deletions

View File

@@ -59,8 +59,8 @@ module.exports = Mn.View.extend({
data.ssl_forced = true;
}
if (typeof data.http2_support !== 'undefined' && data.http2_support === '1') {
data.http2_support = true;
if (typeof data.http2_support !== 'undefined') {
data.http2_support = !!data.http2_support;
}
if (typeof data.domain_names === 'string' && data.domain_names) {