diff options
author | 2023-03-16 14:42:36 +0000 | |
---|---|---|
committer | 2023-03-16 14:42:36 +0000 | |
commit | 83f97c0913119161d0e101049c211c323648931f (patch) | |
tree | 13e989d1d0a201ac5bd3e5902291d6960fe44c76 /packages/integrations/cloudflare/src | |
parent | 7a45eba4a19e16dfac2bb9339f54e4ff1a7b90b0 (diff) | |
download | astro-83f97c0913119161d0e101049c211c323648931f.tar.gz astro-83f97c0913119161d0e101049c211c323648931f.tar.zst astro-83f97c0913119161d0e101049c211c323648931f.zip |
[ci] format
Diffstat (limited to 'packages/integrations/cloudflare/src')
-rw-r--r-- | packages/integrations/cloudflare/src/index.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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); |