Skip to content

Commit 81519b3

Browse files
committed
Fix hostname check for www.attest.ink and remove non-existent script.js references
1 parent a99dd7c commit 81519b3

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

attestation-result.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ <h4>Markdown Code</h4>
133133
<p>A public-benefit, open-source AI integrity protocol | <a href="/protocol/">Learn about the protocol</a></p>
134134
</footer>
135135
</div>
136-
<script src="/static/script.js?v=2"></script>
137136
<script src="/static/global-footer.js"></script>
138137
<script src="/attestation-result.js"></script>
139138
<script>

attestation-result.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async function generateAttestationDisplay(attestation) {
2626

2727
// Check if we're on Vercel, attest.ink, or localhost (for development)
2828
if (window.location.hostname.includes('vercel.app') ||
29-
window.location.hostname === 'attest.ink' ||
29+
window.location.hostname.includes('attest.ink') ||
3030
window.location.hostname === 'localhost') {
3131
try {
3232
// Check localStorage for email or API key

faq.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ <h3>What's the difference between AI roles?</h3>
173173
<p>A public-benefit, open-source AI integrity protocol | <a href="/protocol/">Learn about the protocol</a></p>
174174
</footer>
175175
</div>
176-
<script src="/static/script.js?v=2"></script>
177176
<script src="/static/global-footer.js"></script>
178177
</body>
179178
</html>

0 commit comments

Comments
 (0)