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:
parent
cc1e665b32
commit
4338ec157a
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue