Skip to content

Commit a58ee19

Browse files
committed
refactor: update default admin path to include leading slash
1 parent 2dc3d91 commit a58ee19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/maxkb/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def get_sandbox_python_package_paths(self):
106106
'/opt/py3/lib/python3.11/site-packages,/opt/maxkb-app/sandbox/python-packages,/opt/maxkb/python-packages')
107107

108108
def get_admin_path(self):
109-
return self.get('ADMIN_PATH', 'admin')
109+
return self.get('ADMIN_PATH', '/admin')
110110

111111
def get_chat_path(self):
112112
return self.get('CHAT_PATH', '/chat')

0 commit comments

Comments
 (0)