summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/dev/container.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/astro/src/core/dev/container.ts b/packages/astro/src/core/dev/container.ts
index 9e381d76d..7403eae5b 100644
--- a/packages/astro/src/core/dev/container.ts
+++ b/packages/astro/src/core/dev/container.ts
@@ -71,8 +71,7 @@ export async function createContainer({
// Open server to the correct path. We pass the `base` here as we didn't pass the
// base to the initial Vite config
- const open = isServerOpenURL ? serverOpen
- : isServerOpenBoolean ? base : false;
+ const open = isServerOpenURL ? serverOpen : isServerOpenBoolean ? base : false;
// The client entrypoint for renderers. Since these are imported dynamically
// we need to tell Vite to preoptimize them.