diff options
author | 2022-06-08 15:09:17 +0000 | |
---|---|---|
committer | 2022-06-08 15:09:17 +0000 | |
commit | 073bab5ec180ab7650f1ffdde4ea981677e413f4 (patch) | |
tree | 9bf802778d364aaee04ec23be8137a594049f730 | |
parent | c601ce59b5740e7ff48c6575a6168d6a2408f7a3 (diff) | |
download | astro-073bab5ec180ab7650f1ffdde4ea981677e413f4.tar.gz astro-073bab5ec180ab7650f1ffdde4ea981677e413f4.tar.zst astro-073bab5ec180ab7650f1ffdde4ea981677e413f4.zip |
[ci] format
-rw-r--r-- | packages/integrations/sitemap/src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/sitemap/src/index.ts b/packages/integrations/sitemap/src/index.ts index e43b8f6d6..a94f6fba4 100644 --- a/packages/integrations/sitemap/src/index.ts +++ b/packages/integrations/sitemap/src/index.ts @@ -74,8 +74,8 @@ export default function createPlugin({ return; } let pageUrls = pages.map((p) => { - const path = finalSiteUrl.pathname + p.pathname - return new URL(path, finalSiteUrl).href + const path = finalSiteUrl.pathname + p.pathname; + return new URL(path, finalSiteUrl).href; }); if (filter) { pageUrls = pageUrls.filter((page: string) => filter(page)); |