soiz1 commited on
Commit
1abc70d
·
verified ·
1 Parent(s): b8c6ad9

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

Browse files
src/components/menu-bar/share-button.jsx CHANGED
@@ -25,6 +25,7 @@ const getProjectUri = () => new Promise(resolve => {
25
  .then(resolve);
26
  });
27
 
 
28
  const isUploadAvailable = async () => {
29
  let res = null;
30
  try {
@@ -148,6 +149,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');
152
  });
153
  }
 
25
  .then(resolve);
26
  });
27
 
28
+ #サーバーダウンチェック
29
  const isUploadAvailable = async () => {
30
  let res = null;
31
  try {
 
149
  }
150
 
151
  const url = location.origin;
152
+ #最終的なURL
153
  window.open(`https://penguinmod.com/${targetPage}?name=${this.props.projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
154
  });
155
  }