Replace hcaptcha by altcha

This commit is contained in:
nemunaire 2026-06-03 21:21:55 +09:00
commit d1a20d0baa
5 changed files with 12 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<script src="/js/bootstrap.bundle.min.js"></script>
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
<script src="https://lists.happydomain.org/public/static/altcha.umd.js" async defer></script>
<script>
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', function(e) {
document.documentElement.setAttribute('data-bs-theme', e.matches ? 'dark' : 'light');