feat: append ?embedded=1 to VIM iframe URL

This commit is contained in:
Marius Tarau
2026-03-01 04:19:06 +02:00
parent 24a5ba0598
commit 51dbfcb2bd
@@ -27,10 +27,12 @@ export function VisualCopilotModule({ url }: VisualCopilotModuleProps) {
);
}
const embeddedUrl = url.includes('?') ? `${url}&embedded=1` : `${url}?embedded=1`;
return (
<div className="relative h-full w-full">
<iframe
src={url}
src={embeddedUrl}
className="h-full w-full border-0"
title="Visual CoPilot"
allow="fullscreen"