🚀 Auto-deploy: BotVPS atualizado em 29/04/2026 10:32:29
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user