Skip to content

Add the port to vite.config.ts #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

patchen0518
Copy link

Summary

This pull request resolves an issue where the Vite development server was launching on an unpredictable port by explicitly setting it to 5174.

Motivation

The Vite server would sometimes occupy both port 5173 (the default) and 5174 without a clear reason, leading to confusion and making it difficult to reliably access the application. This change ensures the frontend server runs on a single, consistent port, which improves the local development experience.

@patchen0518
Copy link
Author

This also address the issue mentioned in #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant