Open zakrian07 opened 9 months ago
there's no cors issue in the backend , the repl url is expired
i'm changing to new url, you can check it on here https://gdrive.demo.imtaqin.id/
updated in frontend too https://google-drive-player.netlify.app/
[image: image.png]
On Wed, Dec 6, 2023 at 2:31 AM taqin @.***> wrote:
there's no cors issue in the backend , the repl url is expired
i'm changing to new url, you can check it on here https://gdrive.demo.imtaqin.id/
updated in frontend too https://google-drive-player.netlify.app/
— Reply to this email directly, view it on GitHub https://github.com/fdciabdul/Google-Drive-Player/issues/6#issuecomment-1841642301, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPI5XKFD4NBFLXORZQEDLLYH6HBNAVCNFSM6AAAAABAIKNLIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRGY2DEMZQGE . You are receiving this because you authored the thread.Message ID: @.***>
$ yarn start yarn run v1.22.19 $ node main.js Server listening on port 8080 /home/singhera/projects/Google-Drive-Player-Backed/Google-Drive-Player-Backed/node_modules/gdurl/src/gDrive.js:97 throw new Error("Error while fetching the media link. " + error.message); ^
Error: Error while fetching the media link. cheerio is not defined at googleDrive.getMediaLink (/home/singhera/projects/Google-Drive-Player-Backed/Google-Drive-Player-Backed/node_modules/gdurl/src/gDrive.js:97:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /home/singhera/projects/Google-Drive-Player-Backed/Google-Drive-Player-Backed/main.js:140:18
Node.js v18.17.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. my local showing this when i run backend
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://google-drive-player-backed.fdciabdul.repl.co/?url=1ZoeKC_7Sbh6UJn9cyq1CnyHt6Tgv06YW. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 502. coming here https://google-drive-player.netlify.app/