Closed virskor closed 2 weeks ago
after migrate package.json
"directories": { "doc": "records" },
sitemap generate with sitemap.hostname but not add /records after host name
sitemap.xml
loc shoud be http://test.com/records/ok.html not http://test.com/ok.html
"vitepress": "^1.1.0"
No response
You need to set base - https://vitepress.dev/reference/site-config#base
directories.doc is probably some non-standard thing which vitepress doesn't recognize
directories.doc
Describe the bug
after migrate package.json
sitemap generate with sitemap.hostname but not add /records after host name
Reproduction
sitemap.xml
Expected behavior
loc shoud be http://test.com/records/ok.html not http://test.com/ok.html
System Info
Additional context
No response
Validations