Skip to content

Commit e6c8564

Browse files
Harden smoke callback discovery and env ignore rules
1 parent 78aa4b2 commit e6c8564

4 files changed

Lines changed: 1022 additions & 733 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ANNOUNCE_CHANNEL="-1002648883359"
33
DEVICE=vps
44
ADMIN_IDS=YOUR_TELEGRAM_USER_ID
55
BOT_TOKEN=
6-
WEBAPP_HMAC_KEY=
6+
WEBAPP_HMAC_KEY= # 32-byte secret for HMAC-signing webapp payloads/CSRF tokens; generate with: openssl rand -hex 32 (or openssl rand -base64 32); keep secret and never commit real values
77
TELEGRAM_BOT_TOKEN=
88
DISCORD_CODE_GENERATION_IMAGE_URL=https://raw.githubusercontent.com/gamblecodezcom/Runewager/main/images/discord_code_generation.png
99
DISCORD_VERIFY_IMAGE_URL=https://raw.githubusercontent.com/gamblecodezcom/Runewager/main/images/discord_verify.png

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
.env
33
.env.*
44
*.env
5+
!.env.example
6+
!.env.sample
7+
!.env.template
58

69
# Logs
710
logs/
@@ -32,3 +35,7 @@ data/helpful_messages.json
3235
data/promo-history.json
3336
data/runtime-state.json
3437
data/sshv-sessions.json
38+
39+
# Runtime generated data + backups
40+
data/*.json
41+
data/backups/**

0 commit comments

Comments
 (0)