Skip to content

Commit

Permalink
fix: webvitals was broke (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
icco authored Sep 19, 2024
1 parent b8faa59 commit b386789
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 325 deletions.
2 changes: 1 addition & 1 deletion public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://natwelch.com</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://natwelch.com/wiki/about</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://natwelch.com/wiki/books</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://natwelch.com/wiki/books/locative.garden</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
Expand Down Expand Up @@ -36,5 +35,6 @@
<url><loc>https://natwelch.com/wiki/support</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://natwelch.com/wiki/talks</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://natwelch.com/wiki/writing</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://natwelch.com</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://natwelch.com/wiki</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>
</urlset>
2 changes: 2 additions & 0 deletions src/components/WebVitals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ export function WebVitals() {
fetch(url, { body, method: "POST", keepalive: true });
}
});

return <></>;
}
Loading

0 comments on commit b386789

Please sign in to comment.