File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/frontend/js/app/nginx Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ module.exports = Mn.View.extend({
59
59
data . ssl_forced = true ;
60
60
}
61
61
62
- if ( typeof data . http2_support !== 'undefined' && data . http2_support === '1' ) {
63
- data . http2_support = true ;
62
+ if ( typeof data . http2_support !== 'undefined' ) {
63
+ data . http2_support = ! ! data . http2_support ;
64
64
}
65
65
66
66
if ( typeof data . domain_names === 'string' && data . domain_names ) {
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ module.exports = Mn.View.extend({
44
44
. parents ( '.form-group' )
45
45
. css ( 'opacity' , enabled ? 1 : 0.5 ) ;
46
46
47
- this . ui . http2_support . prop ( 'disabled' , ! enabled )
47
+ this . ui . http2_support . prop ( 'disabled' , ! enabled ) ;
48
48
} ,
49
49
50
50
'click @ui.save' : function ( e ) {
@@ -68,8 +68,8 @@ module.exports = Mn.View.extend({
68
68
data . ssl_forced = true ;
69
69
}
70
70
71
- if ( typeof data . http2_support !== 'undefined' && data . http2_support === '1' ) {
72
- data . http2_support = true ;
71
+ if ( typeof data . http2_support !== 'undefined' ) {
72
+ data . http2_support = ! ! data . http2_support ;
73
73
}
74
74
75
75
if ( typeof data . domain_names === 'string' && data . domain_names ) {
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ module.exports = Mn.View.extend({
62
62
data . ssl_forced = true ;
63
63
}
64
64
65
- if ( typeof data . http2_support !== 'undefined' && data . http2_support === '1' ) {
66
- data . http2_support = true ;
65
+ if ( typeof data . http2_support !== 'undefined' ) {
66
+ data . http2_support = ! ! data . http2_support ;
67
67
}
68
68
69
69
if ( typeof data . domain_names === 'string' && data . domain_names ) {
You can’t perform that action at this time.
0 commit comments