File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/workflows/[workflowId] Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ export async function generateMetadata({
3939 // Ignore errors, use defaults
4040 }
4141
42- const baseUrl = process . env . NEXT_PUBLIC_APP_URL || "https://workflow.new" ;
42+ const baseUrl =
43+ process . env . NEXT_PUBLIC_APP_URL || "https://workflow-builder.dev" ;
44+ const workflowUrl = `${ baseUrl } /workflows/${ workflowId } ` ;
4345 const ogImageUrl = isPublic
4446 ? `${ baseUrl } /api/og/workflow/${ workflowId } `
4547 : `${ baseUrl } /og-default.png` ;
@@ -51,6 +53,8 @@ export async function generateMetadata({
5153 title : `${ title } | AI Workflow Builder` ,
5254 description : `View and explore the "${ title } " workflow built with AI Workflow Builder.` ,
5355 type : "website" ,
56+ url : workflowUrl ,
57+ siteName : "AI Workflow Builder" ,
5458 images : [
5559 {
5660 url : ogImageUrl ,
You can’t perform that action at this time.
0 commit comments