File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,8 @@ <h1>Fireflies🧚🏻</h1>
220
220
} ;
221
221
222
222
fetch (
223
- `https://fireflies-0rmt.onrender.com/get-spotify-playlist/${ encodedUserEmail } /${ encodedPlaylistId } ` ,
223
+ `http://13.60.179.94/get-spotify-playlist/${ encodedUserEmail } /${ encodedPlaylistId } ` , // AWS
224
+ // `https://fireflies-0rmt.onrender.com/get-spotify-playlist/${encodedUserEmail}/${encodedPlaylistId}`, //render
224
225
// `http://127.0.0.1:8000/get-spotify-playlist/${encodedUserEmail}/${encodedPlaylistId}`,
225
226
requestOptions
226
227
)
@@ -262,8 +263,10 @@ <h1>Fireflies🧚🏻</h1>
262
263
} ) ;
263
264
264
265
async function checkTaskStatus ( taskId ) {
265
- const response = await fetch ( `http://127.0.0.1:8000/task_status/${ taskId } ` ) ;
266
+ // const response = await fetch(`http://127.0.0.1:8000/task_status/${taskId}`);
267
+ const response = await fetch ( `http://13.60.179.94/task_status/${ taskId } ` ) ;
266
268
const data = await response . json ( ) ;
269
+ console . log ( data ) ;
267
270
if ( data . state === 'PENDING' ) {
268
271
return 'PENDING' ;
269
272
}
@@ -312,7 +315,8 @@ <h1>Fireflies🧚🏻</h1>
312
315
} ;
313
316
314
317
fetch (
315
- "https://fireflies-0rmt.onrender.com/create-apple-music-playlist" ,
318
+ "http://13.60.179.94/create-apple-music-playlist" , //AWS
319
+ // "https://fireflies-0rmt.onrender.com/create-apple-music-playlist", //render
316
320
// "http://127.0.0.1:8000/create-apple-music-playlist",
317
321
requestOptions
318
322
)
You can’t perform that action at this time.
0 commit comments