mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-07-06 20:18:43 +08:00
feat: make router be modular and isolated
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import logging
|
||||
import re
|
||||
|
||||
from fastapi import APIRouter
|
||||
from fastapi.exceptions import HTTPException
|
||||
from fastapi.responses import Response
|
||||
|
||||
from module.conf import settings
|
||||
from module.network import RequestContent
|
||||
|
||||
from .download import router
|
||||
router = APIRouter()
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user