diff --git a/components/PresentationFormHeader.tsx b/components/PresentationFormHeader.tsx index 3089ab9..5b99479 100644 --- a/components/PresentationFormHeader.tsx +++ b/components/PresentationFormHeader.tsx @@ -19,4 +19,3 @@ export function PresentationFormHeader({ userName }: PresentationFormHeaderProps ) } - diff --git a/lib/nip95.ts b/lib/nip95.ts index d48bbce..e6c29d6 100644 --- a/lib/nip95.ts +++ b/lib/nip95.ts @@ -38,7 +38,9 @@ export async function uploadNip95Media(file: File): Promise { const endpoint = process.env.NEXT_PUBLIC_NIP95_UPLOAD_URL if (!endpoint) { - throw new Error('NIP-95 upload endpoint is not configured') + throw new Error( + 'NIP-95 upload endpoint is not configured. Please set NEXT_PUBLIC_NIP95_UPLOAD_URL environment variable. See README.md for setup instructions.' + ) } const formData = new FormData()