feat: make router be modular and isolated

This commit is contained in:
100gle
2023-06-08 22:18:13 +08:00
parent 0575a19f05
commit 082667f5c6
10 changed files with 79 additions and 47 deletions

View File

@@ -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__)