Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
FHU-yezi committed Dec 3, 2023
2 parents 9081b3a + bc26e54 commit da45147
Show file tree
Hide file tree
Showing 124 changed files with 7,572 additions and 9,860 deletions.
1 change: 1 addition & 0 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
}

handle /api/* {
uri strip_prefix /api
reverse_proxy api:8902
}
}
16 changes: 7 additions & 9 deletions backend/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from sanic import Blueprint
from litestar import Router

from api.info import info_blueprint
from api.status import status_blueprint
from api.tools import tools_blueprint
from .v1 import V1_ROUTER

api_blueprint = Blueprint.group(
info_blueprint,
status_blueprint,
tools_blueprint,
url_prefix="/api",
API_ROUTER = Router(
path="/",
route_handlers=[
V1_ROUTER,
],
)
123 changes: 0 additions & 123 deletions backend/api/info.py

This file was deleted.

65 changes: 0 additions & 65 deletions backend/api/status.py

This file was deleted.

Loading

0 comments on commit da45147

Please sign in to comment.