diff options
author | 2023-03-13 15:00:16 +0000 | |
---|---|---|
committer | 2023-03-13 15:00:16 +0000 | |
commit | 875a04db16b4099bc3bb6e665da7629822e7211d (patch) | |
tree | 633b5ac7ea73a15c8670c0257faccf9cb542e6d5 | |
parent | 1c3e8f6c3b839087aa51de2e2fb665cd907f2847 (diff) | |
download | astro-875a04db16b4099bc3bb6e665da7629822e7211d.tar.gz astro-875a04db16b4099bc3bb6e665da7629822e7211d.tar.zst astro-875a04db16b4099bc3bb6e665da7629822e7211d.zip |
[ci] format
-rw-r--r-- | packages/integrations/cloudflare/src/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/integrations/cloudflare/src/index.ts b/packages/integrations/cloudflare/src/index.ts index f87b701e9..2f182d604 100644 --- a/packages/integrations/cloudflare/src/index.ts +++ b/packages/integrations/cloudflare/src/index.ts @@ -155,7 +155,9 @@ 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.substring(0, -1) : _config.base; + const base = _config.base.endsWith('/') + ? _config.base.substring(0, -1) + : _config.base; pagePath = `${base}${pagePath}`; } staticPathList.push(pagePath); |