**Fixes Applied:** 1. **Order Deletion Authorization (HTTP 401)** - Added [AllowAnonymous] to CancelOrder endpoint - Allows customers to cancel orders using IdentityReference - File: LittleShop/Controllers/OrdersController.cs:160 2. **Bot Activity Tracking Hostname** - Changed littleshop-admin:8080 → littleshop:5000 - Fixed DNS resolution errors in production - Files: TeleBot/appsettings.json, BotActivityTracker.cs, docker-compose.hostinger.yml 3. **Tor Proxy Investigation** - Analyzed SOCKS connection failures - Tor is working correctly, API blocks exit nodes (expected) - Fallback to default currencies working as designed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
651 B
Plaintext
21 lines
651 B
Plaintext
# TeleBot Production Environment Variables
|
|
# Copy this file to /opt/telebot/.env on the VPS and fill in the values
|
|
|
|
# Telegram Bot Configuration
|
|
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
|
|
TELEGRAM_ADMIN_CHAT_ID=your_admin_chat_id_here
|
|
|
|
# LittleShop API Configuration
|
|
LITTLESHOP_API_URL=http://littleshop:5000
|
|
LITTLESHOP_USERNAME=admin
|
|
LITTLESHOP_PASSWORD=your_admin_password_here
|
|
|
|
# Database Encryption
|
|
DB_ENCRYPTION_KEY=your_32_character_encryption_key_here
|
|
|
|
# Optional: Redis Configuration (if enabled)
|
|
# REDIS_CONNECTION_STRING=localhost:6379
|
|
|
|
# Optional: Tor Configuration (if enabled)
|
|
# PRIVACY_ENABLE_TOR=false
|
|
# PRIVACY_TOR_SOCKS_PORT=9050 |