Skip to content

Conversation

@tianzhou
Copy link
Member

Fix #135

Copilot AI review requested due to automatic review settings November 24, 2025 14:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the bundle path issue (#135) by aligning the frontend build output directory with the server's static file serving path. The changes consolidate the build output under dist/public, making the production build structure cleaner and more predictable.

Key Changes:

  • Frontend build output redirected from frontend/dist to dist/public
  • Server static file serving path updated to match the new build location

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
frontend/vite.config.ts Configures Vite to output built frontend files to ../dist/public instead of the default dist directory
src/server.ts Updates the static file serving path to dist/public (relative to compiled code location) to match the new frontend build output

@tianzhou tianzhou merged commit d95643a into main Nov 24, 2025
8 checks passed
@tianzhou tianzhou deleted the demo branch November 26, 2025 16:19
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.

Demo returns Cannot GET /message

2 participants