halo-dev / plugin-sitemap

Halo 2.0 的站点 Sitemap 生成插件
https://halo.run/store/apps/app-QDFMI
GNU General Public License v3.0
6 stars 6 forks source link

插件生成site.xml内的域名后面带数字 #11

Closed ghfkui closed 1 year ago

ghfkui commented 1 year ago

插件version:1.02 `

http://xxx.com:57555/article/2315515151 2023-08-08T18:18:16+08:00 daily 0.7 http://xxx.com:57555/article/1686221599417 2023-08-08T18:18:16+08:00 daily 0.7

` 域名后面会跟一串数字,看着像端口号。这是什么原因?过一段时间重新打开数字会有变化

carolcoral commented 1 year ago

端口应该不是随机端口,是你原始站点的端口,可以用我的升级版去自定义:https://github.com/carolcoral/plugin-sitemap/releases/tag/v1.0.3

ruibaby commented 1 year ago

修改 halo.external-url 即可。

/close

f2c-ci-robot[bot] commented 1 year ago

@ruibaby: Closing this issue.

In response to [this](https://github.com/halo-dev/plugin-sitemap/issues/11#issuecomment-1735222814): >修改 halo.external-url 即可。 > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.