Skip to content

Commit 99a034e

Browse files
committed
small thing
1 parent 21ba9d2 commit 99a034e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/menu-bar/share-button.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ShareButton extends React.Component {
6060
this.handleMessageEvent(e);
6161
}
6262
async handleMessageEvent(e) {
63-
if (!e.origin.startsWith(`https://penguinmod.com`)) {
63+
if (!e.origin.startsWith(`http://localhost:5173`)) {
6464
return;
6565
}
6666

@@ -148,7 +148,7 @@ class ShareButton extends React.Component {
148148
}
149149

150150
const url = location.origin;
151-
window.open(`https://penguinmod.com/${targetPage}?name=${this.props.projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
151+
window.open(`http://localhost:5173/${targetPage}?name=${this.props.projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
152152
});
153153
}
154154
render() {

0 commit comments

Comments
 (0)