1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

hotfix for tunnel

This commit is contained in:
NoobishSVK
2024-09-26 15:46:16 +02:00
parent 431dc7cedf
commit f295f18e8f
3 changed files with 2 additions and 3 deletions

View File

@@ -83,6 +83,8 @@ function submitData() {
const tunnelUsername = $('#tunnel-username').val();
const tunnelSubdomain = $('#tunnel-subdomain').val();
const tunnelToken = $('#tunnel-token').val();
const tunnelEnabled = $("#tunnel-enabled").is(":checked");
const tunnelLowLatency = $("#tuner-lowlatency").is(":checked");
const publicTuner = $("#tuner-public").is(":checked");
const lockToAdmin = $("#tuner-lock").is(":checked");
@@ -331,7 +333,6 @@ function submitData() {
$("#tunnel-enable").prop("checked", !!(data.tunnel && data.tunnel?.enabled));
$("#tunnel-lowlatency").prop("checked", !!(data.tunnel && data.tunnel?.lowLatencyMode));
console.log((data.tunnel && data.tunnel?.enabled) ? data.tunnel?.enabled : "false");
$('#tunnel-token').val(data.tunnel?.token);
$('#tunnel-subdomain').val(data.tunnel?.subdomain);
$('#tunnel-username').val(data.tunnel?.username);

View File

@@ -184,7 +184,6 @@ $(document).ready(function () {
//FMLIST logging
$('#log-fmlist').on('click', function() {
//console.log('FMLIST');
$.ajax({
url: './log_fmlist',
method: 'GET',