Security: Cloudflare Turnstile für Kontaktformular, server-seitige Verifizierung
This commit is contained in:
parent
cbaac4b5a4
commit
cbbe6b9996
5 changed files with 64 additions and 8 deletions
2
Makefile
2
Makefile
|
|
@ -64,7 +64,7 @@ deploy: check-ssh
|
|||
@COPYFILE_DISABLE=1 tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@echo "→ .env auf DS aktualisieren..."
|
||||
@if [ -f .env ]; then \
|
||||
grep BREVO_KEY .env | ssh $(DS_HOST) "cat > $(DS_PATH)/.env"; \
|
||||
grep -E "BREVO_KEY|TURNSTILE_SECRET" .env | ssh $(DS_HOST) "cat > $(DS_PATH)/.env"; \
|
||||
fi
|
||||
@echo "→ PocketBase Hooks synchronisieren..."
|
||||
@for f in $(HOOKS_SRC)/*.pb.js; do \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue