Skip to content
Snippets Groups Projects
Commit c22670d6 authored by William Enright's avatar William Enright
Browse files

fixed server setup parameters parsing, fixed starting url

parent e4b0dc00
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ public class TomcatLauncher {
tomcat.start();
//Try to pop-up Web-UI
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
Desktop.getDesktop().browse(new URI(tomcat.getConnector().getScheme() + "://localhost:8080"));
Desktop.getDesktop().browse(new URI(tomcat.getConnector().getScheme() + "://localhost:8080/templates/signup.html"));
} else {
log.info("There is no graphical interface on this system - please connect remotely!");
}
......
......@@ -63,22 +63,15 @@ $('#deviceLifetime').on('change', function() {
});
function setParametersData(form) {
var data = {}
var data = {};
$.each($(form).serializeArray(), function (i, field) {
if (type_int_name_input.indexOf(field.name) >= 0) {
data[field.name] = parseInt(field.value);
}
else {
data[field.name] = field.value;
}
});
if ($('#sipContents').val() != "")
data['sipConfig'] = $('#sipContents').val();
// no bad dog
data['crlLifetime'] = 300000;
data['serverDomain'] = $('#domain').val();
data['signingAlgorithm'] = "SHA512WITHRSA";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment