refactor: remove success toast and prioritize public domain URL
Remove redundant success toast messages from Vercel and Netlify deploy components. Additionally, prioritize the public domain URL over the private domain in the Vercel deploy action for consistency and clarity.
This commit is contained in:
@@ -237,7 +237,9 @@ export async function action({ request }: ActionFunctionArgs) {
|
||||
deploy: {
|
||||
id: deployData.id,
|
||||
state: deploymentState,
|
||||
url: deploymentUrl || projectInfo.url,
|
||||
|
||||
// Return public domain as deploy URL and private domain as fallback.
|
||||
url: projectInfo.url || deploymentUrl,
|
||||
},
|
||||
project: projectInfo,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user