diff --git a/src/khoj/main.py b/src/khoj/main.py index 53dae1bc..9fa65fc3 100644 --- a/src/khoj/main.py +++ b/src/khoj/main.py @@ -102,7 +102,7 @@ def run(should_start_server=True): configure_routes(app) # Mount Django and Static Files - app.mount("/django", django_app, name="django") + app.mount("/server", django_app, name="server") static_dir = "static" if not os.path.exists(static_dir): os.mkdir(static_dir) diff --git a/src/khoj/utils/initialization.py b/src/khoj/utils/initialization.py index 72cd3fe5..f7c7556e 100644 --- a/src/khoj/utils/initialization.py +++ b/src/khoj/utils/initialization.py @@ -19,7 +19,7 @@ logger = logging.getLogger(__name__) def initialization(): def _create_admin_user(): logger.info( - "👩‍✈️ Setting up admin user. These credentials will allow you to configure your server at /django/admin." + "👩‍✈️ Setting up admin user. These credentials will allow you to configure your server at /server/admin." ) email_addr = os.getenv("ADMIN_EMAIL") or input("Email: ") password = os.getenv("ADMIN_PASSWORD") or input("Password: ") @@ -28,7 +28,7 @@ def initialization(): def _create_chat_configuration(): logger.info( - "🗣️ Configure chat models available to your server. You can always update these at /django/admin using the credentials of your admin account" + "🗣️ Configure chat models available to your server. You can always update these at /server/admin using the credentials of your admin account" ) try: # Some environments don't support interactive input. We catch the exception and return if that's the case. The admin can still configure their settings from the admin page.