fix(*): 将文件导入从绝对路径给为相对路径

This commit is contained in:
2026-05-01 22:06:11 +08:00
parent 26ee46bb7b
commit 55ae431d10
6 changed files with 12 additions and 12 deletions

View File

@@ -6,11 +6,11 @@ import logging
from aiohttp import web
from ncatbot.plugin import NcatBotPlugin
from config import HOST, PORT, UPLOAD_DIR, WEBHOOK_API_KEY
from handlers.health import health_handler
from handlers.message import webhook_handler
from handlers.upload import cleanup_expired_files, upload_handler
from middleware import auth_middleware, request_id_middleware
from .config import HOST, PORT, UPLOAD_DIR, WEBHOOK_API_KEY
from .handlers.health import health_handler
from .handlers.message import webhook_handler
from .handlers.upload import cleanup_expired_files, upload_handler
from .middleware import auth_middleware, request_id_middleware
logging.basicConfig(
level=logging.INFO,