diff --git a/containers/app-proxy/utils/manager.js b/containers/app-proxy/utils/manager.js index cd94f1c27b..10483c418d 100644 --- a/containers/app-proxy/utils/manager.js +++ b/containers/app-proxy/utils/manager.js @@ -4,7 +4,7 @@ const package = require('../package.json'); const CONSTANTS = require('./const.js'); const axiosInstance = axios.create({ - baseURL: `http://${CONSTANTS.MANAGER_IP}:${CONSTANTS.MANAGER_PORT}`, + baseURL: `${CONSTANTS.APP_PROTOCOL}://${CONSTANTS.MANAGER_IP}:${CONSTANTS.MANAGER_PORT}`, headers: { common: { "User-Agent": `${package.name}/${package.version}` @@ -27,4 +27,4 @@ const account = { module.exports = { account -}; \ No newline at end of file +};