Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Feb 4, 2025
1 parent 1eff9ee commit 771513b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/server/hmrFallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ export async function getResolvedClientConfig(
clientConfig: DevConfig['client'],
serverConfig: ServerConfig,
): Promise<DevConfig['client']> {
const resolvedHost = await resolveHostname(serverConfig.host);
return {
...clientConfig,
host: await resolveHostname(serverConfig.host),
host: resolvedHost,
port: serverConfig.port,
};
}

0 comments on commit 771513b

Please sign in to comment.