docs: add initial_path configuration for preview environment ports#519
Merged
docs: add initial_path configuration for preview environment ports#519
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
Review complete. Found 1 documentation inconsistency that should be clarified.
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
- Fix validation rules: query params and hash fragments are allowed - Fix domain names: keep preview.roocode.cloud (revert vercel.run changes) - Fix env var table: ROO_*_HOST contains base URL only, not initial_path - Add note clarifying initial_path only affects UI preview links - Update examples to include query params and hash fragments
Contributor
Author
|
Updated the docs to align with the latest cloud implementation of Changes:
|
jr
approved these changes
Feb 6, 2026
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 free
to 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.
This PR adds documentation for the new
initial_pathproperty in preview environment port configurations.Changes
initial_pathto the port configuration fields table/, valid URI path characters)initial_pathvaluesinitial_pathaffects the resulting URLUse Case
Preview environments currently load a blank page at the root path, which does not work for applications where the entry point is at a different path (e.g.,
/login). Theinitial_pathproperty allows users to specify the default path that will be appended to the preview URL when the service starts.View task on Roo Code Cloud
Important
Adds documentation for
initial_pathconfiguration in preview environment ports, detailing its purpose, usage, and validation rules inenvironments.mdx.initial_pathto port configuration fields inenvironments.mdx.initial_path(must start with/, valid URI characters).initial_pathimpact on URLs.initial_pathvalues.environments.mdx.This description was created by
for 6619e59. You can customize this summary. It will automatically update as commits are pushed.