We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ba9d2 commit 99a034eCopy full SHA for 99a034e
src/components/menu-bar/share-button.jsx
@@ -60,7 +60,7 @@ class ShareButton extends React.Component {
60
this.handleMessageEvent(e);
61
}
62
async handleMessageEvent(e) {
63
- if (!e.origin.startsWith(`https://penguinmod.com`)) {
+ if (!e.origin.startsWith(`http://localhost:5173`)) {
64
return;
65
66
@@ -148,7 +148,7 @@ class ShareButton extends React.Component {
148
149
150
const url = location.origin;
151
- window.open(`https://penguinmod.com/${targetPage}?name=${this.props.projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
+ window.open(`http://localhost:5173/${targetPage}?name=${this.props.projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
152
});
153
154
render() {
0 commit comments