feat: supports for provider reloading

This commit is contained in:
Junyan Qin
2025-01-04 23:07:10 +08:00
parent 5e5a3639d1
commit 97bb24c5b9
8 changed files with 47 additions and 17 deletions

View File

@@ -12,7 +12,7 @@ from .. import group
class LogsRouterGroup(group.RouterGroup):
async def initialize(self) -> None:
@self.route('', methods=['GET'])
@self.route('', methods=['GET'], auth_type=group.AuthType.USER_TOKEN)
async def _() -> str:
start_page_number = int(quart.request.args.get('start_page_number', 0))