mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
refactor (#1124)
### What problem does this PR solve? ### Type of change - [x] Refactoring
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user