31
public/sitemap.xml
Normal file
31
public/sitemap.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset
|
||||||
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||||
|
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://filekeeper.my.id/</loc>
|
||||||
|
<lastmod>2024-07-05T07:57:35+00:00</lastmod>
|
||||||
|
<priority>1.00</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://filekeeper.my.id/signup</loc>
|
||||||
|
<lastmod>2024-07-05T07:57:35+00:00</lastmod>
|
||||||
|
<priority>0.80</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://filekeeper.my.id/signin</loc>
|
||||||
|
<lastmod>2024-07-05T07:57:35+00:00</lastmod>
|
||||||
|
<priority>0.80</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://filekeeper.my.id/forgot-password</loc>
|
||||||
|
<lastmod>2024-07-05T07:57:35+00:00</lastmod>
|
||||||
|
<priority>0.64</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
|
||||||
|
</urlset>
|
@ -133,6 +133,10 @@ func SetupRoutes() *http.ServeMux {
|
|||||||
http.ServeFile(w, r, "public/robots.txt")
|
http.ServeFile(w, r, "public/robots.txt")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
handler.HandleFunc("GET /sitemap.xml", func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
http.ServeFile(w, r, "public/sitemap.xml")
|
||||||
|
})
|
||||||
|
|
||||||
handler.HandleFunc("GET /favicon.ico", func(w http.ResponseWriter, r *http.Request) {
|
handler.HandleFunc("GET /favicon.ico", func(w http.ResponseWriter, r *http.Request) {
|
||||||
http.ServeFile(w, r, "public/favicon.ico")
|
http.ServeFile(w, r, "public/favicon.ico")
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user