Skip to content

Commit

Permalink
Fixed custom certificates.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Dec 4, 2022
1 parent 6ea2448 commit 0f67daa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion controllers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.install = function() {
ROUTE('+API /apiv1/ -apps_read/id *Apps --> read');
ROUTE('+API /apiv1/ -apps_restart/id *Apps --> restart');
ROUTE('+API /apiv1/ -apps_restart_all *Apps --> restart_all');
ROUTE('+API /apiv1/ +apps_save *Apps --> check port save (response)', [50000]);
ROUTE('+API /apiv1/ +apps_save *Apps --> check port save (response)', [120000]);
ROUTE('+API /apiv1/ -apps_remove/id *Apps --> remove');
ROUTE('+API /apiv1/ -apps_stop/id *Apps --> stop');
ROUTE('+API /apiv1/ -apps_stop_all *Apps --> stop_all');
Expand Down
2 changes: 1 addition & 1 deletion public/forms/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ <h3>@(Type of application)</h3>

value = value.replace(/http(s)?\:\/\//g, '');
var index = value.indexOf('/');
var url = value.substring(index + 1).trim();
var url = index === -1 ? '' : value.substring(index + 1).trim();
SET('?.subpath', url.length > 2);
}, true);

Expand Down
Loading

0 comments on commit 0f67daa

Please sign in to comment.