Uh oh!
There was an error while loading. Please reload this page.
Closed
Fix startup message to show correct API endpoint#588
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
CopilotAI
changed the title
[WIP] Fix API endpoint routing issue for local developmentFix startup message to show correct API endpointFeb 10, 2026
hotlong
marked this pull request as ready for review
February 10, 2026 13:33
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the CLI “Server is ready” banner to display the correct REST API base endpoint (/api/v1) instead of the root path (/), which redirects to Studio in dev mode and can mislead users.
Changes:
- Adjusted the printed API URL in the CLI startup message from
base + '/'tobase + '/api/v1'.
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Startup message incorrectly displayed API at
http://localhost:3000/when actual endpoint is/api/v1. Root path redirects to Studio UI in dev mode, causing user confusion.Change
packages/cli/src/utils/format.ts:191to display/api/v1instead of/Before
After
Original prompt
Created from VS Code.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.