(fix:AgentDetailsModal) update shared token URL format in AgentDetailsModal

This commit is contained in:
Alex
2025-05-24 00:12:31 +01:00
parent c662725955
commit e2f6c04406

View File

@@ -97,7 +97,7 @@ export default function AgentDetailsModal({
{sharedToken && (
<div className="mb-1">
<CopyButton
textToCopy={`${baseURL}/agents/shared/${sharedToken}`}
textToCopy={`${baseURL}/shared/agent/${sharedToken}`}
padding="p-1"
/>
</div>
@@ -106,7 +106,7 @@ export default function AgentDetailsModal({
{sharedToken ? (
<div className="flex flex-col flex-wrap items-start gap-2">
<p className="f break-all font-mono text-sm text-gray-700 dark:text-[#ECECF1]">
{`${baseURL}/agents/shared/${sharedToken}`}
{`${baseURL}/shared/agent/${sharedToken}`}
</p>
</div>
) : (