mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 11:47:23 +02:00
Include baseUrl when redirecting /docs/ pages in a localized project (#147)
This commit is contained in:
parent
2da255fa74
commit
c3a1d99964
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ function execute() {
|
|||
metadata={metadata}
|
||||
language={language}
|
||||
config={siteConfig}
|
||||
redirect={"/" + metadata.permalink}
|
||||
redirect={"/" + siteConfig.baseUrl + metadata.permalink}
|
||||
/>
|
||||
);
|
||||
const redirectStr = renderToStaticMarkup(redirectComp);
|
||||
|
|
Loading…
Add table
Reference in a new issue