Fix settings and env config stuck on loading via SSR form render

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 20:24:15 +08:00
parent 6975da8575
commit aa966114b1
10 changed files with 114 additions and 27 deletions
+1
View File
@@ -7146,6 +7146,7 @@ def render_main_page(page="trade", embed_mode=None):
**display_prefs_template_context(get_db),
**settings_page_context(
page,
instance_base_dir=BASE_DIR,
exchange_key="gate",
exchange_display=EXCHANGE_DISPLAY_NAME,
risk_status=risk_status,