From 875a04db16b4099bc3bb6e665da7629822e7211d Mon Sep 17 00:00:00 2001 From: bluwy Date: Mon, 13 Mar 2023 15:00:16 +0000 Subject: [PATCH] [ci] format --- packages/integrations/cloudflare/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);