Test / config.py
mrwabnalas40's picture
Upload 10 files
7212614 verified
raw
history blame contribute delete
262 Bytes
# config.py — نقطة مركزية لإعدادات المشروع
import os, random
# مصدر الحقيقة الوحيد لمنفذ الخدمة
PORT = int(os.getenv("CPU_PORT", os.getenv("PORT", "0")))
if PORT == 0:
PORT = random.randint(5000, 9999)