File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const getProjectUri = () => new Promise(resolve => {
28
28
const isUploadAvailable = async ( ) => {
29
29
let res = null ;
30
30
try {
31
- res = await fetch ( 'http ://localhost:8080 /api/v1/projects/canuploadprojects' ) . then ( res => res . json ( ) ) ;
31
+ res = await fetch ( 'https ://projects.penguinmod.com /api/v1/projects/canuploadprojects' ) . then ( res => res . json ( ) ) ;
32
32
} catch {
33
33
// failed to fetch entirely
34
34
return false ;
@@ -60,7 +60,7 @@ class ShareButton extends React.Component {
60
60
this . handleMessageEvent ( e ) ;
61
61
}
62
62
async handleMessageEvent ( e ) {
63
- if ( ! e . origin . startsWith ( `http ://localhost:5173 ` ) ) {
63
+ if ( ! e . origin . startsWith ( `https ://penguinmod-home-git-new-backend-live-penguinmod.vercel.app ` ) ) {
64
64
return ;
65
65
}
66
66
@@ -148,7 +148,7 @@ class ShareButton extends React.Component {
148
148
}
149
149
150
150
const url = location . origin ;
151
- window . open ( `http ://localhost:5173 /${ targetPage } ?name=${ this . props . projectTitle } ${ editPiece } ${ remixPiece } &external=${ url } ` , '_blank' ) ;
151
+ window . open ( `https ://penguinmod-home-git-new-backend-live-penguinmod.vercel.app /${ targetPage } ?name=${ this . props . projectTitle } ${ editPiece } ${ remixPiece } &external=${ url } ` , '_blank' ) ;
152
152
} ) ;
153
153
}
154
154
render ( ) {
You can’t perform that action at this time.
0 commit comments