fix(frontend): use correct url path for memos in sitemap.xml (#5921)
This commit is contained in:
parent
a0b6417689
commit
603781f792
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ func (s *FrontendService) getSitemapXML(c *echo.Context) error {
|
||||||
urls := make([]sitemapURL, 0, len(memos))
|
urls := make([]sitemapURL, 0, len(memos))
|
||||||
for _, memo := range memos {
|
for _, memo := range memos {
|
||||||
urls = append(urls, sitemapURL{
|
urls = append(urls, sitemapURL{
|
||||||
Loc: instanceURL + "/m/" + memo.UID,
|
Loc: instanceURL + "/memos/" + memo.UID,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue