Fix ALTCHA CDN path for v3 widget

v3 moved the widget from dist/altcha.min.js to dist/main/altcha.min.js;
the old path served a cached v2 widget which expected a 'challenge'
string field and threw split-on-undefined against v3's parameters format.
Pin to @3.1.0 to prevent future surprise upgrades.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chris 2026-06-12 06:01:45 -04:00
parent c00f2de338
commit 2ebbe4fbe0
2 changed files with 2 additions and 2 deletions

View File

@ -163,6 +163,6 @@
<script src="../script.js"></script>
<script src="../easter-egg.js"></script>
<script src="../contact-form.js"></script>
<script async src="https://cdn.jsdelivr.net/npm/altcha/dist/altcha.min.js" type="module"></script>
<script async src="https://cdn.jsdelivr.net/npm/altcha@3.1.0/dist/main/altcha.min.js" type="module"></script>
</body>
</html>

View File

@ -321,7 +321,7 @@
<script src="reviews-data.js"></script>
<script src="reviews.js?v=6"></script>
<script src="contact-form.js"></script>
<script async src="https://cdn.jsdelivr.net/npm/altcha/dist/altcha.min.js" type="module"></script>
<script async src="https://cdn.jsdelivr.net/npm/altcha@3.1.0/dist/main/altcha.min.js" type="module"></script>
</body>
</html>