🚀 Auto-deploy: BotVPS atualizado em 29/04/2026 10:32:29

This commit is contained in:
2026-04-29 10:32:29 +00:00
parent f9df9713db
commit 63d78a53f8
2 changed files with 25 additions and 3 deletions

View File

@@ -1,7 +1,9 @@
import json
import os
CONFIG_FILE = "/app/data/config.json"
# Usa o diretório do script para localizar o data/config.json
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
CONFIG_FILE = os.path.join(BASE_DIR, "data", "config.json")
def get_config():
if not os.path.exists("/app/data"):