diff --git a/packages/integrations/cloudflare/src/index.ts b/packages/integrations/cloudflare/src/index.ts index 6cdfdd96c..f5c4fc370 100644 --- a/packages/integrations/cloudflare/src/index.ts +++ b/packages/integrations/cloudflare/src/index.ts @@ -155,9 +155,7 @@ export default function createIntegration(args?: Options): AstroIntegration { for (let page of pages) { let pagePath = prependForwardSlash(page.pathname); if (_config.base !== '/') { - const base = _config.base.endsWith('/') - ? _config.base.slice(0, -1) - : _config.base; + const base = _config.base.endsWith('/') ? _config.base.slice(0, -1) : _config.base; pagePath = `${base}${pagePath}`; } staticPathList.push(pagePath);