Skip to content

Commit 4338ec1

Browse files
authored
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
1 parent cc1e665 commit 4338ec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/api/handlers/v0/ui_index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h3 class="text-lg font-semibold mb-4">API Base URL</h3>
147147

148148
// Get base URL based on selection
149149
function getBaseUrl() {
150-
const selection = localStorage.getItem('baseUrl') || 'prod';
150+
const selection = localStorage.getItem('baseUrl') || 'local';
151151
const customUrl = localStorage.getItem('customUrl') || '';
152152

153153
switch (selection) {
@@ -166,7 +166,7 @@ <h3 class="text-lg font-semibold mb-4">API Base URL</h3>
166166

167167
// Get server display name
168168
function getServerName() {
169-
const selection = localStorage.getItem('baseUrl') || 'prod';
169+
const selection = localStorage.getItem('baseUrl') || 'local';
170170
const customUrl = localStorage.getItem('customUrl') || '';
171171

172172
switch (selection) {

0 commit comments

Comments
 (0)