We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1ddab3 commit 16b25fbCopy full SHA for 16b25fb
attestation-result.js
@@ -22,7 +22,12 @@ async function generateAttestationDisplay(attestation) {
22
let shortUrl = null;
23
let requiresPayment = false;
24
25
- if (window.location.hostname.includes('vercel.app') || window.location.hostname === 'attest.ink') {
+ console.log('Current hostname:', window.location.hostname);
26
+
27
+ // Check if we're on Vercel, attest.ink, or localhost (for development)
28
+ if (window.location.hostname.includes('vercel.app') ||
29
+ window.location.hostname === 'attest.ink' ||
30
+ window.location.hostname === 'localhost') {
31
try {
32
// Check localStorage for email or API key
33
const savedEmail = localStorage.getItem('attest_ink_email');
0 commit comments