fix(mikrotikConfigRoutes, mikrotikApplyService): update default port for MikroTik API connections from 443 to 80 to align with REST API standards
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m59s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m59s
This commit is contained in:
@@ -14,7 +14,7 @@ const https = require('https');
|
||||
* @returns {object} client с методами print, add, set, remove, command
|
||||
*/
|
||||
function createRosClient(opts) {
|
||||
const { host, port = 443, user, password, secure = false } = opts;
|
||||
const { host, port = 80, user, password, secure = false } = opts;
|
||||
const useHttp = port === 80;
|
||||
const protocol = useHttp ? http : https;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user