Preserve subdomain in Shakespeare Deploy

This commit is contained in:
Alex Gleason committed 2025-12-09 19:58:18 -06:00
1 parent 83b20c88f0
commit dd0f105c87
2 files changed
+11 -1

No files matched your search

+3
View File
@@ -404,11 +404,14 @@ export function DeployDialog({ projectId, projectName, open, onOpenChange }: Dep
if (selectedProvider.type === 'shakespeare') {
const shakespeareProvider = selectedProvider as ShakespeareDeployProvider;
const savedConfig = projectSettings.providers[selectedProviderId];
const savedSubdomain = savedConfig?.type === 'shakespeare' ? savedConfig.data.subdomain : undefined;
return (
<ShakespeareDeployForm
host={shakespeareProvider.host}
projectId={projectId}
savedSubdomain={savedSubdomain}
onSubdomainChange={handleShakespeareSubdomainChange}
onValidationChange={handleShakespeareValidationChange}
/>