start mobile library with provision id and custom hostname.

This commit is contained in:
Ginder Singh authored and Cuong Manh Le committed 2026-04-30 19:19:18 +07:00
1 parent 36afb16e57
commit c8477fe442
3 files changed
+24 -12

No files matched your search

+9 -1
View File
@@ -182,7 +182,15 @@ func RunMobile(appConfig *AppConfig, appCallback *AppCallback, stopCh chan struc
noConfigStart = false
homedir = appConfig.HomeDir
verbose = appConfig.Verbose
cdUID = appConfig.CdUID
if appConfig.ProvisionID != "" {
cdOrg = appConfig.ProvisionID
}
if appConfig.CustomHostname != "" {
customHostname = appConfig.CustomHostname
}
if appConfig.CdUID != "" {
cdUID = appConfig.CdUID
}
cdUpstreamProto = appConfig.UpstreamProto
logPath = appConfig.LogPath
run(appCallback, stopCh)