Default to the local registry in the UI (#799)

<!-- Provide a brief summary of your changes -->
Change the UI default to the locally hosted registry.

## Motivation and Context
<!-- Why is this change needed? What problem does it solve? -->
Was quite confusing at first :)

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] 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
<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [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
This commit is contained in:
Benedikt Reinartz 2025-12-16 22:59:39 +01:00 • committed by GitHub
commit 4338ec157a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {