Skip to content

Commit 47e53c2

Browse files
committed
fix(vite-plugin): resolve hostname from BASE_URI not key path
1 parent 65a1c01 commit 47e53c2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/vite-plugin-tempest/src/plugin.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,6 @@ function resolveEnvironmentServerConfig(env: Record<string, string>): {
325325
* Resolve the host name from the environment.
326326
*/
327327
function resolveHostFromEnv(env: Record<string, string>): string | undefined {
328-
if (env.VITE_DEV_SERVER_KEY) {
329-
return env.VITE_DEV_SERVER_KEY
330-
}
331-
332328
try {
333329
return new URL(env.BASE_URI).host
334330
} catch {

0 commit comments

Comments
 (0)