### What problem does this PR solve?


### Type of change

- [x] Refactoring
This commit is contained in:
KevinHuSh
2024-06-12 11:02:15 +08:00
committed by GitHub
parent 2cc89211f6
commit abcd3d2469
7 changed files with 73 additions and 83 deletions

View File

@ -85,7 +85,6 @@ def register_page(page_path):
url_prefix = f'/api/{API_VERSION}/{page_name}' if "_api" in path else f'/{API_VERSION}/{page_name}'
app.register_blueprint(page.manager, url_prefix=url_prefix)
print(f'API file: {page_path}, URL: {url_prefix}')
return url_prefix