cloudron 5.8.0 → 5.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/actions.js +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudron",
3
- "version": "5.8.0",
3
+ "version": "5.8.1",
4
4
  "license": "MIT",
5
5
  "description": "Cloudron Commandline Tool",
6
6
  "main": "main.js",
package/src/actions.js CHANGED
@@ -707,11 +707,16 @@ async function configure(localOptions, cmd) {
707
707
  }
708
708
  }
709
709
 
710
+ const ports = {};
711
+ for (const portName in app.portBindings) {
712
+ ports[portName] = app.portBindings[portName].hostPort;
713
+ }
714
+
710
715
  const data = {
711
716
  location: domainObject.subdomain, // LEGACY
712
717
  subdomain: domainObject.subdomain,
713
718
  domain: domainObject.domain,
714
- ports: app.portBindings,
719
+ ports,
715
720
  secondaryDomains,
716
721
  aliasDomains
717
722
  };