👋 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:
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:
👋 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 thatApiManager.updateConfigAndSave()
is missing several variables:The most important ones for me are
containerHttpPort
andwebsocketSupport
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: