Add Server Domain into configurator
This commit is contained in:
@@ -112,6 +112,11 @@
|
|||||||
<input type="text" id="inputSmtpFrom" class="form-control">
|
<input type="text" id="inputSmtpFrom" class="form-control">
|
||||||
<small class="text-body-secondary">Sender Email Address</small>
|
<small class="text-body-secondary">Sender Email Address</small>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="inputServerDomain">LubeLogger Domain</label>
|
||||||
|
<input type="text" id="inputServerDomain" class="form-control">
|
||||||
|
<small class="text-body-secondary">For Links in Emails</small>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -321,6 +326,9 @@ function generateConfig(){
|
|||||||
if ($("#inputInvariantAPI").is(":checked")){
|
if ($("#inputInvariantAPI").is(":checked")){
|
||||||
windowConfig["LUBELOGGER_INVARIANT_API"]=$('#inputInvariantAPI').is(':checked');
|
windowConfig["LUBELOGGER_INVARIANT_API"]=$('#inputInvariantAPI').is(':checked');
|
||||||
}
|
}
|
||||||
|
if ($("#inputServerDomain").val().trim() != ''){
|
||||||
|
windowConfig["LUBELOGGER_DOMAIN"] = $('#inputServerDomain').val();
|
||||||
|
}
|
||||||
if ($('#inputSmtpServer').val().trim() != ''){
|
if ($('#inputSmtpServer').val().trim() != ''){
|
||||||
windowConfig["MailConfig"] = {
|
windowConfig["MailConfig"] = {
|
||||||
EmailServer: $("#inputSmtpServer").val(),
|
EmailServer: $("#inputSmtpServer").val(),
|
||||||
@@ -392,6 +400,9 @@ function generateConfig(){
|
|||||||
if ($("#inputPostgres").val().trim() != ''){
|
if ($("#inputPostgres").val().trim() != ''){
|
||||||
dockerConfig.push(`POSTGRES_CONNECTION="${$('#inputPostgres').val()}"`);
|
dockerConfig.push(`POSTGRES_CONNECTION="${$('#inputPostgres').val()}"`);
|
||||||
}
|
}
|
||||||
|
if ($("#inputServerDomain").val().trim() != ''){
|
||||||
|
dockerConfig.push(`LUBELOGGER_DOMAIN="${$('#inputServerDomain').val()}"`);
|
||||||
|
}
|
||||||
if ($("#inputCustomWidgets").is(":checked")){
|
if ($("#inputCustomWidgets").is(":checked")){
|
||||||
dockerConfig.push(`LUBELOGGER_CUSTOM_WIDGETS="${$('#inputCustomWidgets').is(':checked')}"`);
|
dockerConfig.push(`LUBELOGGER_CUSTOM_WIDGETS="${$('#inputCustomWidgets').is(':checked')}"`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user