Repository navigation
Docs: npm Yaci Viewer runs on port 3000 - #202
Merged
Merged
Conversation
yaci-viewer is a SvelteKit adapter-node server, which listens on 3000 unless PORT is set. Document the default and how to change it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The npm guide said Yaci Viewer runs at
http://localhost:5173. That's the Docker distribution's port. The npmyaci-viewerpackage is a SvelteKit adapter-node server, so it listens on 3000 unlessPORTis set (const port = env('PORT', !path && '3000')in the built server). The Zip guide already says 3000.Changes in
getting-started/npm.mdx:http://localhost:3000, and showsPORT=5173 yaci-viewerto match Docker's port, orPORT=5173in the.envfile.http://localhost:3000, or the port set withPORT.The services page is unchanged: its URL table is labelled "With the default Docker ports", where 5173 is right.
Testing
next buildpasses.applications/viewer(node cli.js): with noPORTthe server code defaults to 3000; withPORT=5199it listened on 5199, and withPORT=5198in a.envfile in the working directory it listened on 5198. I didn't test the published npm package itself.🤖 Generated with Claude Code