mirror of
https://github.com/artemium428/428th-website-2026.git
synced 2026-09-15 17:06:20 +00:00
Wire the anonymous form to a VPS Python endpoint that notifies Telegram, persists submissions locally, and stops faking success on failure. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
355 B
Text
12 lines
355 B
Text
# Copy to api/.env on the VPS and fill in real values.
|
|
# Never commit .env.
|
|
|
|
TELEGRAM_BOT_TOKEN=1234567890:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
|
TELEGRAM_CHAT_ID=123456789
|
|
|
|
# Bind address (default: loopback only)
|
|
HOST=127.0.0.1
|
|
PORT=8787
|
|
|
|
# Local JSONL backup of submissions (relative to api/ or absolute path)
|
|
MESSAGES_FILE=messages.jsonl
|