Private
Public Access
1
0

chg: dev: protect the gameplay with recaptcha #4

This commit is contained in:
2026-04-14 21:07:54 +02:00
parent 176e255037
commit c0c84f4651
2 changed files with 172 additions and 2 deletions

View File

@@ -11,7 +11,8 @@
data-env="{{ env }}"
data-game-id="{{ app.request.get('gameAssoc') }}"
data-mercure-hub-url="{{ mercure_hub_url }}"
data-mercure-subscriber-jwt="{{ mercure_subscriber_jwt }}">
data-mercure-subscriber-jwt="{{ mercure_subscriber_jwt }}"
data-recaptcha-site-key="{{ recaptcha_site_key }}">
</div>
</div>
{% endblock %}
@@ -27,7 +28,6 @@
{% block stylesheets %}
{{ vite_entry_link_tags('mineseekerStyle') }}
<style>
.mine-container {
background: url('/images/bg-mineseeker-{{ random(1) }}-outbg.jpg') no-repeat;
@@ -37,5 +37,6 @@
{% block javascripts %}
{{ parent() }}
<script src="https://www.google.com/recaptcha/api.js?render={{ recaptcha_site_key }}" async defer></script>
{{ vite_entry_script_tags('mineseeker', { dependency: 'react' }) }}
{% endblock %}