You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be tricky in an 11ty site because when it builds the sitemap, it needs to know the base URL that the site will eventually be deployed on. https://github.com/cisagov/get.gov/pull/138/files is an example of a possible solution.
Google Lighthouse reports that our reference to
/sitemap.xml
in ourrobots.txt
is invalid. Maybe it needs to be absolute rather than relative?How to reproduce
Expected behavior
The sitemap link is valid in robots.txt
Actual behavior
According to Lighthouse, the sitemap URL is invalid
Sketch
TBD
The text was updated successfully, but these errors were encountered: