Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
fix: sitemap fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zifahm committed Jul 7, 2023
1 parent 8abe26e commit 894f7c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<p align="center">
<a href="https://bespoke.surf">
<img src="https://github.com/bespoke-surf/bespoke/assets/3761062/59936991-c64d-4e97-abd0-3f801f8b9a52" width="318px" alt="Bespoke logo" />
</a>

<!-- <h1 align="center"><a href="https://bespoke.surf">Bespoke</a></h1> -->
</p>
<div align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/bespoke-surf/bespoke/assets/3761062/6c0be29b-b3a6-4e06-a146-920d82a430da">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/bespoke-surf/bespoke/assets/3761062/ffdf1a48-7771-42db-bc9f-c76ba2557b23">
<img alt="Bespoke Logo" src="https://github.com/bespoke-surf/bespoke/assets/3761062/ffdf1a48-7771-42db-bc9f-c76ba2557b23" width="318px" >
</picture>
</div>

<strong>
<h3 align="center">Open Source Personalized Marketing Platform.</h3></strong>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/utils/sitemap.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function getSitemapXml(request: Request, remixContext: EntryContext) {
}: KCDSitemapEntry & { postHandle: string }) {
return `
<url>
<loc>${domainUrl.protocol}://${route}.${domainUrl.host}/${postHandle}</loc>
<loc>${domainUrl.protocol}://${route}.${domainUrl.host}/p/${postHandle}</loc>
${lastmod ? `<lastmod>${lastmod}</lastmod>` : ""}
${changefreq ? `<changefreq>${changefreq}</changefreq>` : ""}
${priority ? `<priority>${priority}</priority>` : ""}
Expand Down

0 comments on commit 894f7c5

Please sign in to comment.