mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
(fix:AgentDetailsModal) update shared token URL format in AgentDetailsModal
This commit is contained in:
@@ -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>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user