RELEASE 1.0! #5

Merged
IgorVolochay merged 95 commits from prebuild into main 2026-09-09 08:45:32 +00:00
3 changed files with 6 additions and 5 deletions
Showing only changes of commit 8d8361ab8f - Show all commits
+3 -3
View File
@@ -61,14 +61,14 @@ app: FastAPI = FastAPI(
)
config = SecurityConfig(
enable_rate_limiting=True,
rate_limit=10, # TODO: check rate limits in real usage
rate_limit_window=3, # TODO: check rate limits in real usage
rate_limit=10,
rate_limit_window=3,
enable_redis=False,
enable_ip_banning=True,
enable_penetration_detection=True,
auto_ban_threshold=3,
auto_ban_duration=3600,
auto_ban_duration=600,
detection_compiler_timeout=2.0,
detection_max_content_length=10000,
+2 -1
View File
@@ -67,6 +67,7 @@ services:
RABBIT_USER: ${RABBIT_USER}
RABBIT_PASS: ${RABBIT_PASS}
MODERATION_SECRET: ${MODERATION_SECRET}
TG_BOT_TOKEN: ${TG_BOT_TOKEN}
DEV_MODE: ${DEV_MODE:-false}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
logging:
@@ -92,10 +93,10 @@ services:
backend:
condition: service_started
environment:
TG_BOT_TOKEN: ${TG_BOT_TOKEN}
TG_ADMIN_CHAT_ID: ${TG_ADMIN_CHAT_ID}
API_BASE_URL: http://backend:5000
MODERATION_SECRET: ${MODERATION_SECRET}
TG_BOT_TOKEN: ${TG_BOT_TOKEN}
RABBIT_HOST: rabbitmq
RABBIT_PORT: "5672"
RABBIT_USER: ${RABBIT_USER}
+1 -1
View File
@@ -6,7 +6,7 @@
import { getTelegramInitData } from './auth';
const BASE_URL = process.env.REACT_APP_API_URL || '';
const BASE_URL = process.env.REACT_APP_API_URL || '/api';
async function request(method, path, body = null) {
const headers = {