Skip to content

Commit 52b1a03

Browse files
committed
fix: Chat ui prefix
1 parent 368c175 commit 52b1a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/maxkb/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def page_not_found(request, exception):
111111
if request.path.startswith(chat_ui_prefix):
112112
in_ = [url for url in static_dict.get(chat_ui_prefix) if request.path.endswith(url)]
113113
if len(in_) > 0:
114-
a = admin_ui_prefix + in_[0]
114+
a = chat_ui_prefix + in_[0]
115115
return HttpResponseRedirect(_static(a))
116116
index_path = os.path.join(PROJECT_DIR, 'apps', "static", 'chat', 'index.html')
117117
content = get_index_html(index_path)

0 commit comments

Comments
 (0)