1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-26 02:40:10 +00:00

Merge pull request #32 from Nitrillo/feature/TLS

Added TLS checkbox
This commit is contained in:
Muhammad Auliya 2021-12-21 17:07:51 +07:00 committed by GitHub
commit 8534ee1dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -47,6 +47,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="use-tls">
<label class="custom-control-label" for="use-tls">Use TLS</label>
</div>
<div class="custom-control custom-checkbox"> <div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="restart-conn"> <input type="checkbox" class="custom-control-input" id="restart-conn">
<label class="custom-control-label" for="restart-conn">Restart Connection</label> <label class="custom-control-label" for="restart-conn">Restart Connection</label>

View File

@ -13,6 +13,9 @@ $('#get-services').click(function(){
if($('#restart-conn').is(":checked")) { if($('#restart-conn').is(":checked")) {
restart = "1" restart = "1"
} }
if($('#use-tls').is(":checked")) {
use_tls = "true"
}
// determine whether the proto connection will use local proto or not // determine whether the proto connection will use local proto or not
const use_proto = $('#local-proto').is(":checked"); const use_proto = $('#local-proto').is(":checked");