X-lab2017 / open-digger-website

Official Website for OpenDigger Community
https://open-digger.cn
Apache License 2.0
6 stars 6 forks source link

[Bug] Base URL should be modified in the `/preview` command #26

Closed frank-zsy closed 2 months ago

frank-zsy commented 2 months ago

Are you certain it's a bug?

Are you sure this is not an issue in Docusaurus?

Is there an existing issue for this?

Issue description

Without setting the correct base URL in the /preview command leads to broken redirections in the preview website, because all the redirection link will still point to the https://open-digger.cn/ which means we can not check the links in the preview website.

We should modify the base URL in the config file while deploying the preview website.