Expose and protect legacy app name flag

This commit is contained in:
Kasra Bigdeli
2026-07-19 22:06:16 -07:00
parent 65fb121e7e
commit 139032308b
+12
View File
@@ -94,6 +94,18 @@ class AppsDataStore {
)
}
const existingApp = self.data.get(
`${APP_DEFINITIONS}.${appName}`
) as IAppDefSaved | undefined
if (existingApp) {
if (existingApp.isLegacyAppName === undefined) {
delete app.isLegacyAppName
} else {
app.isLegacyAppName = existingApp.isLegacyAppName
}
}
if (app.forceSsl) {
let hasAtLeastOneSslDomain = app.hasDefaultSubDomainSsl
const customDomainArray = app.customDomain