Skip to content

Commit ff8f6f3

Browse files
authored
fix: open in v0 link (#9202)
1 parent 2971aae commit ff8f6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/s2-docs/src/CodePlatter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export function CodePlatter({children, type, showCoachMark}: CodePlatterProps) {
179179
}
180180
{registryUrl &&
181181
<MenuItem
182-
href={`https://v0.dev/chat/api/open?url=${registryUrl}`}
182+
href={`https://v0.dev/chat/api/open?url=${process.env.REGISTRY_URL || 'http://localhost:8081'}/${registryUrl}`}
183183
target="_blank"
184184
rel="noopener noreferrer">
185185
<V0 />

0 commit comments

Comments
 (0)