summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bluwy <bluwy@users.noreply.github.com> 2023-11-14 09:41:17 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-11-14 09:41:17 +0000
commit6f5de8dfba021cacc8f58140671a98bcbb0936a3 (patch)
treee8f8525f422266f000e864ff36ca912e54db715b
parent84312f24f8af2098b0831cf2361ea3d37761d3d3 (diff)
downloadastro-6f5de8dfba021cacc8f58140671a98bcbb0936a3.tar.gz
astro-6f5de8dfba021cacc8f58140671a98bcbb0936a3.tar.zst
astro-6f5de8dfba021cacc8f58140671a98bcbb0936a3.zip
[ci] format
-rw-r--r--packages/astro/src/core/preview/vite-plugin-astro-preview.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/preview/vite-plugin-astro-preview.ts b/packages/astro/src/core/preview/vite-plugin-astro-preview.ts
index b07b88b7a..7f9979275 100644
--- a/packages/astro/src/core/preview/vite-plugin-astro-preview.ts
+++ b/packages/astro/src/core/preview/vite-plugin-astro-preview.ts
@@ -25,7 +25,7 @@ export function vitePluginAstroPreview(settings: AstroSettings): Plugin {
}
const strippedPathname = stripBase(req.url!, base);
- const pathname = new URL(strippedPathname, 'https://a.b').pathname
+ const pathname = new URL(strippedPathname, 'https://a.b').pathname;
const isRoot = pathname === '/';
// Validate trailingSlash