Skip to content

fix: preview server url for vite 3.x#94

Merged
frandiox merged 1 commit intomasterfrom
fix/preview-vite-3.x
Oct 5, 2022
Merged

fix: preview server url for vite 3.x#94
frandiox merged 1 commit intomasterfrom
fix/preview-vite-3.x

Conversation

@m3hari
Copy link
Collaborator

@m3hari m3hari commented Sep 27, 2022

Vite 3.x does not export utilities to print server URL and the Vite internal has changed. As a result, the preview crashes while trying to print server info. This PR fixes the issues by printing server info directly from Vitedge keeping the current implementation for older versions.

@m3hari m3hari requested a review from frandiox September 27, 2022 16:10
Copy link
Owner

@frandiox frandiox left a comment

Choose a reason for hiding this comment

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

Thanks!

@frandiox frandiox merged commit 12918f6 into master Oct 5, 2022
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.

2 participants