mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
added public https port setting
This commit is contained in:
parent
0f142fff89
commit
22c701d9a9
@ -24,9 +24,9 @@
|
|||||||
<div class="fieldDescription">${LabelLocalHttpServerPortNumberHelp}</div>
|
<div class="fieldDescription">${LabelLocalHttpServerPortNumberHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="txtPublicPort">${LabelPublicPort}</label>
|
<label for="txtPublicPort">${LabelPublicHttpPort}</label>
|
||||||
<input type="number" id="txtPublicPort" pattern="[0-9]*" required="required" min="1" />
|
<input type="number" id="txtPublicPort" pattern="[0-9]*" required="required" min="1" />
|
||||||
<div class="fieldDescription">${LabelPublicPortHelp}</div>
|
<div class="fieldDescription">${LabelPublicHttpPortHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="chkEnableUpnp">${LabelEnableAutomaticPortMap}</label>
|
<label for="chkEnableUpnp">${LabelEnableAutomaticPortMap}</label>
|
||||||
@ -48,6 +48,11 @@
|
|||||||
<input type="number" id="txtHttpsPort" pattern="[0-9]*" required="required" min="1" />
|
<input type="number" id="txtHttpsPort" pattern="[0-9]*" required="required" min="1" />
|
||||||
<div class="fieldDescription">${LabelHttpsPortHelp}</div>
|
<div class="fieldDescription">${LabelHttpsPortHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="txtPublicHttpsPort">${LabelPublicHttpsPort}</label>
|
||||||
|
<input type="number" id="txtPublicHttpsPort" pattern="[0-9]*" required="required" min="1" />
|
||||||
|
<div class="fieldDescription">${LabelPublicHttpsPortHelp}</div>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="txtCertificatePath">${LabelCertificatePath}</label>
|
<label for="txtCertificatePath">${LabelCertificatePath}</label>
|
||||||
<input type="text" id="txtCertificatePath" />
|
<input type="text" id="txtCertificatePath" />
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
$('#txtPortNumber', page).val(config.HttpServerPortNumber);
|
$('#txtPortNumber', page).val(config.HttpServerPortNumber);
|
||||||
$('#txtPublicPort', page).val(config.PublicPort);
|
$('#txtPublicPort', page).val(config.PublicPort);
|
||||||
|
$('#txtPublicHttpsPort', page).val(config.PublicHttpsPort);
|
||||||
|
|
||||||
$('#chkEnableHttps', page).checked(config.EnableHttps).checkboxradio('refresh');
|
$('#chkEnableHttps', page).checked(config.EnableHttps).checkboxradio('refresh');
|
||||||
$('#txtHttpsPort', page).val(config.HttpsPortNumber);
|
$('#txtHttpsPort', page).val(config.HttpsPortNumber);
|
||||||
@ -44,6 +45,7 @@
|
|||||||
|
|
||||||
config.HttpServerPortNumber = $('#txtPortNumber', form).val();
|
config.HttpServerPortNumber = $('#txtPortNumber', form).val();
|
||||||
config.PublicPort = $('#txtPublicPort', form).val();
|
config.PublicPort = $('#txtPublicPort', form).val();
|
||||||
|
config.PublicHttpsPort = $('#txtPublicHttpsPort', form).val();
|
||||||
config.EnableHttps = $('#chkEnableHttps', form).checked();
|
config.EnableHttps = $('#chkEnableHttps', form).checked();
|
||||||
config.HttpsPortNumber = $('#txtHttpsPort', form).val();
|
config.HttpsPortNumber = $('#txtHttpsPort', form).val();
|
||||||
config.CertificatePath = $('#txtCertificatePath', form).val();
|
config.CertificatePath = $('#txtCertificatePath', form).val();
|
||||||
|
Loading…
Reference in New Issue
Block a user