Skip to content

Commit

Permalink
fix: modifyHtml#path when exportStatic is enabled (#12115)
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m authored Feb 5, 2024
1 parent af15365 commit 501e841
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,11 @@ export default (api: IApi) => {
}

// append html file
const htmlContent = await getMarkup(markupArgs);
const htmlContent = await getMarkup({
...markupArgs,
// https://github.com/umijs/umi/issues/12108
path: route.path,
});

htmlFiles.push({
path: file,
Expand Down

0 comments on commit 501e841

Please sign in to comment.