Skip to content

Commit

Permalink
fix: sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
JayRichh committed Jan 26, 2025
1 parent 9a9a861 commit 392fb23
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *
Allow: /
Sitemap: https://asciigif.com/sitemap.xml
9 changes: 9 additions & 0 deletions dist/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://asciigif.com/</loc>
<lastmod>2024-01-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
</urlset>
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ module.exports = {
patterns: [
{ from: 'favicon.svg' },
{ from: 'gif.worker.js' },
{ from: 'preview.png' }
{ from: 'preview.png' },
{ from: 'sitemap.xml' },
{ from: 'robots.txt' }
]
})
],
Expand Down

0 comments on commit 392fb23

Please sign in to comment.