Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostname带路径,解析成的xml文件里面没有路径 #26

Closed
tu6ge opened this issue Nov 7, 2019 · 2 comments · Fixed by #27
Closed

hostname带路径,解析成的xml文件里面没有路径 #26

tu6ge opened this issue Nov 7, 2019 · 2 comments · Fixed by #27
Labels
bug Something isn't working

Comments

@tu6ge
Copy link

tu6ge commented Nov 7, 2019

[
                'sitemap',
                {
                    hostname: 'https://tu6ge.github.io/api-show/'
                }
            ]

如上配置,
结果生成的xml文件,内容是这样的
<loc>https://tu6ge.github.io/guide/quickstart.html</loc>
应该生成的路径是<loc>https://tu6ge.github.io/api-show/guide/quickstart.html</loc>

@ekoeryanto
Copy link
Owner

I'm going to check this today.

@ekoeryanto ekoeryanto added the bug Something isn't working label Nov 8, 2019
ekoeryanto added a commit that referenced this issue Nov 8, 2019
@ekoeryanto
Copy link
Owner

ekoeryanto commented Nov 8, 2019

hello, it fixed but not released yet.
you can try it with

# npm i github:ekoeryanto/vuepress-plugin-sitemap

EDIT:
it released now 🎴

Thanks for reporting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants