Commit 250a95b6 authored by 王怀宗's avatar 王怀宗

fix: enable before_ui_callback when api only mode (fixes #7984)

parent fd67eafc
......@@ -341,6 +341,7 @@ def api_only():
setup_middleware(app)
api = create_api(app)
modules.script_callbacks.before_ui_callback()
modules.script_callbacks.app_started_callback(None, app)
print(f"Startup time: {startup_timer.summary()}.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment