From 4338ec157ac06f3979adbef3ff0ce8f2606d2154 Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Tue, 16 Dec 2025 22:59:39 +0100 Subject: [PATCH] Default to the local registry in the UI (#799) Change the UI default to the locally hosted registry. ## Motivation and Context Was quite confusing at first :) ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [x] I have added appropriate error handling - [ ] I have added or updated documentation as needed --- internal/api/handlers/v0/ui_index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/api/handlers/v0/ui_index.html b/internal/api/handlers/v0/ui_index.html index ba04a4b..38bac7f 100644 --- a/internal/api/handlers/v0/ui_index.html +++ b/internal/api/handlers/v0/ui_index.html @@ -147,7 +147,7 @@ // Get base URL based on selection function getBaseUrl() { - const selection = localStorage.getItem('baseUrl') || 'prod'; + const selection = localStorage.getItem('baseUrl') || 'local'; const customUrl = localStorage.getItem('customUrl') || ''; switch (selection) { @@ -166,7 +166,7 @@ // Get server display name function getServerName() { - const selection = localStorage.getItem('baseUrl') || 'prod'; + const selection = localStorage.getItem('baseUrl') || 'local'; const customUrl = localStorage.getItem('customUrl') || ''; switch (selection) {