Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and astrobot-houston committed Mar 13, 2023
1 parent 1c3e8f6 commit 875a04d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/integrations/cloudflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 875a04d

Please sign in to comment.