Skip to content

Commit

Permalink
07 change preview wiki path
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael18811380328 committed Apr 26, 2024
1 parent 9021684 commit 7fe0358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/wiki/wiki-left-bar/wiki-left-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class WikiLeftBar extends React.Component {
}

openPreviewApp = () => {
window.open(window.location.href.replace('wiki-edit', 'published'));
window.open(window.location.href.replace('/published/edit/', '/published/'));
};

openAppSettingsDialog = () => {
Expand Down

0 comments on commit 7fe0358

Please sign in to comment.