0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

[ci] format

This commit is contained in:
bluwy 2023-11-14 09:41:17 +00:00 committed by astrobot-houston
parent 84312f24f8
commit 6f5de8dfba

View file

@ -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