Make entry autoban opt-in, bound PPTX unpacking, unify skin DB path, prune deploy examples
checks / pytest (push) Has been cancelled
checks / moderation (push) Has been cancelled
checks / node (push) Has been cancelled

This commit is contained in:
2026-10-30 23:14:03 +03:00
parent 0ee6fb843b
commit 52018ca568
24 changed files with 168 additions and 93 deletions
+1 -1
View File
@@ -1077,7 +1077,7 @@ async def brand_asset(req):
# Login: server-side POST /api/user/login, Set-Cookie forwarded to the browser.
TG_BOT_CONFIG = os.environ.get("GATE_BOT_CONFIG", "/opt/grok-bot/config.json")
TG_ADMIN_TOKEN_FILE = "/root/.secrets/newapi_admin_token"
TG_PROVISION_DB = os.environ.get("GATE_TG_DB", "/opt/grok-web-skin-tg.db")
TG_PROVISION_DB = os.environ.get("IISHKO_SKIN_DB") or os.environ.get("GATE_TG_DB", "/opt/grok-web-skin-tg.db")
TG_AUTH_MAX_AGE = 900
TG_SID_SECRET_FILE = os.environ.get("TG_SID_SECRET_FILE", "/root/.secrets/iishko_tg_sid_secret")
_TG_SID_SECRET = None
+1 -1
View File
@@ -15,7 +15,7 @@ _CREATOR_PREFIXES = {
}
_AGGREGATOR_PREFIXES = {"kr", "cx", "or", "openrouter", "pool", "modeloc", "auto", "kimi"}
_AGGREGATOR_PREFIXES = {"kr", "cx", "or", "openrouter", "pool", "auto", "kimi"}
class ModelIdentityError(RuntimeError):