Check legacy DNS alias before app registration

This commit is contained in:
Kasra Bigdeli
2026-07-18 23:19:02 -07:00
parent 64be9a9be1
commit 846d1d43bd
@@ -40,6 +40,9 @@ export async function registerAppDefinition(
// if project is not found, it will throw an error
}
// Avoid creating a DNS alias that conflicts with an orphaned legacy service
await serviceManager.ensureLegacyServiceNameAvailable(appName)
// Register the app definition
await dataStore
.getAppsDataStore()