Skip to content

Modular logistics and supply chain operating system (LSOS)

checkin environments directory and update `API_SECURE` to be casted to boolean

Ronald A. Richardson0db3634ab37b
diff --git a/console/config/environment.js b/console/config/environment.js
index 7bcaa3d7..491ef54f 100644
--- a/console/config/environment.js
+++ b/console/config/environment.js
@@ -21,7 +21,7 @@ module.exports = function (environment) {
},
API: {
- host: fixApiHost(getenv('API_HOST'), getenv('API_SECURE')),
+ host: fixApiHost(getenv('API_HOST'), toBoolean(getenv('API_SECURE'))),
namespace: getenv('API_NAMESPACE', 'int/v1'),
},
diff --git a/console/environments/.gitkeep b/console/environments/.gitkeep
new file mode 100644
index 00000000..e69de29b