caprover-cli
caprover-cli copied to clipboard
updateConfigAndSave missing some methods
👋 I'm making a CapRover migration script (moving an app from one server to another) and I need to be able to replicate the configuration between two apps. I am using the ApiManager class and have found that ApiManager.updateConfigAndSave() is missing several variables:
containerHttpPort
redirectDomain
serviceUpdateOverride
websocketSupport
The most important ones for me are containerHttpPort and websocketSupport but ideally all possible params should be added.
There are also some that I'm not sure are perhaps internal variables (can't see them in the console) but they are being sent from the web control panel when saving an app:
appDeployTokenConfig
captainDefinitionRelativeFilePath