Adds tests for settings endpoints

and reenables dns cert test
and fixes problems with schema
This commit is contained in:
Jamie Curnow committed 2024-10-17 08:48:47 +10:00
1 parent 8497022e41
commit edbed1af90
15 files changed
+160 -40

No files matched your search

+3 -1
View File
@@ -181,7 +181,9 @@ const internalNginx = {
* @param {Object} host
* @returns {Promise}
*/
generateConfig: (host_type, host) => {
generateConfig: (host_type, host_row) => {
// Prevent modifying the original object:
let host = JSON.parse(JSON.stringify(host_row));
const nice_host_type = internalNginx.getFileFriendlyHostType(host_type);
if (config.debug()) {