summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ricky Chon <florian-lefebvre@users.noreply.github.com> 2024-07-16 16:51:40 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-07-16 16:51:40 +0000
commit2c437ff99cc0d3b7166305eb22f24ad1d2e30bc0 (patch)
treeba390334da790be96d14c9d521519ba4848e2477
parent17e048de0e79d76b933d128676be2388954b419e (diff)
downloadastro-2c437ff99cc0d3b7166305eb22f24ad1d2e30bc0.tar.gz
astro-2c437ff99cc0d3b7166305eb22f24ad1d2e30bc0.tar.zst
astro-2c437ff99cc0d3b7166305eb22f24ad1d2e30bc0.zip
[ci] format
-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.