File tree 1 file changed +3
-3
lines changed
luci-app-openclash/luasrc/view/openclash
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 854
854
btn . disabled = true ;
855
855
btn . value = '<%:Metacubexd Control Panel%>' ;
856
856
if ( status . daip && window . location . hostname == status . daip ) {
857
- url9 = '<%="http://' + window . location . hostname + ':' + status . cn_port + '/ui/metacubexd/#/?hostname=' + window . location . hostname + '&port=' + status . cn_port + '&secret=' + status . dase + '"%>' ;
857
+ url9 = '<%="http://' + window . location . hostname + ':' + status . cn_port + '/ui/metacubexd/#/setup ?hostname=' + window . location . hostname + '&port=' + status . cn_port + '&secret=' + status . dase + '"%>' ;
858
858
}
859
859
else if ( status . daip && window . location . hostname != status . daip && status . db_foward_domain && status . db_foward_port ) {
860
860
var ui_proto = status . db_forward_ssl == 0 ? 'http://' : 'https://' ;
861
- url9 = '<%="' + ui_proto + status . db_foward_domain + ':' + status . db_foward_port + '/ui/metacubexd/#/?hostname=' + status . db_foward_domain + '&port=' + status . db_foward_port + '&secret=' + status . dase + '"%>' ;
861
+ url9 = '<%="' + ui_proto + status . db_foward_domain + ':' + status . db_foward_port + '/ui/metacubexd/#/setup ?hostname=' + status . db_foward_domain + '&port=' + status . db_foward_port + '&secret=' + status . dase + '"%>' ;
862
862
}
863
863
else {
864
- url9 = '<%="http://' + window . location . hostname + ':' + status . cn_port + '/ui/metacubexd/"%>' ;
864
+ url9 = '<%="http://' + window . location . hostname + ':' + status . cn_port + '/ui/metacubexd/#/ "%>' ;
865
865
}
866
866
winOpen ( url9 ) ;
867
867
return false ;
You can’t perform that action at this time.
0 commit comments