Spaces:
Running
Running
Update src/components/menu-bar/share-button.jsx
Browse files
src/components/menu-bar/share-button.jsx
CHANGED
@@ -25,7 +25,7 @@ const getProjectUri = () => new Promise(resolve => {
|
|
25 |
.then(resolve);
|
26 |
});
|
27 |
|
28 |
-
|
29 |
const isUploadAvailable = async () => {
|
30 |
let res = null;
|
31 |
try {
|
@@ -149,7 +149,7 @@ class ShareButton extends React.Component {
|
|
149 |
}
|
150 |
|
151 |
const url = location.origin;
|
152 |
-
|
153 |
window.open(`https://penguinmod.com/${targetPage}?name=${this.props.projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
|
154 |
});
|
155 |
}
|
|
|
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 |
}
|