We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54cd93d commit 0b27836Copy full SHA for 0b27836
apps/maxkb/urls.py
@@ -131,7 +131,7 @@ def page_not_found(request, exception):
131
return HttpResponse("页面不存在", status=404)
132
content = get_index_html(index_path)
133
content = content.replace("prefix: '/admin'", f"prefix: '{CONFIG.get_admin_path()}'").replace(
134
- "chatPrefix: '/chat'", f"prefix: '{CONFIG.get_chat_path()}'")
+ "chatPrefix: '/chat'", f"chatPrefix: '{CONFIG.get_chat_path()}'")
135
return HttpResponse(content, status=200)
136
else:
137
return HttpResponseRedirect(admin_ui_prefix + '/')
0 commit comments