diff --git a/hub/site/src/lib/utils.ts b/hub/site/src/lib/utils.ts index 898dee23..501dd0f4 100644 --- a/hub/site/src/lib/utils.ts +++ b/hub/site/src/lib/utils.ts @@ -20,12 +20,13 @@ export async function copyToClipboard(content: string) { description: 'Copied to clipboard', }) } catch (e: any) { - toast({ - duration, - description: 'Failed to copy', - }) + prompt( + 'Automatic copy requires a secure context (https, localhost, or *.localhost). Please copy manually:', + content + ) } } + const verifyAuth = () => { pb.collection('users') .authRefresh()