destruc7i0n / nani

Crunchyroll without the bloat
https://nani.ninja
MIT License
71 stars 10 forks source link

Issue when production build but no when using dev build #32

Closed phantomtnt closed 3 years ago

phantomtnt commented 3 years ago

Hello, i've cloned this and i was trying to make it work in local, the only problem i found is that when i create the production build and access the page i cannot play videos i get the error in the image. imagen

but when i use development build, it works perfect, ¿what could be the issue in the production build?

thanks!

destruc7i0n commented 3 years ago

Ah, there is a proxy to get around the CORS requests of the videos. My hosted version has this setup but other versions would need to configure that. If you want to try disabling it you can comment out the lines here https://github.com/destruc7i0n/nani/blob/master/src/components/Player/Player.js#L55-L56

phantomtnt commented 3 years ago

Yes i tried that, and worked, thanks!!