sozonome / muvees

Movie, TV Shows, Person library. Powered by themoviedb.org
https://muvees.sznm.dev
MIT License
13 stars 11 forks source link

Leaked API key through chrome dev tools #3

Closed Reynadi531 closed 3 years ago

Reynadi531 commented 3 years ago

image

Hai,

Gw lagi liat liat portofolio lu dan iseng iseng buka dev tools di "muvees". Dari request yang keluar ada api key leaked. Kalo itu jadi concern mungkin boleh coba bikin proxy REST API as wraper API nya dengan cors disable, atau mungkin coba GetServerSideProps / GetInitialProps dari nextjs.

Best Regards, Rey

sozonome commented 3 years ago

Hello @Reynadi531 thank you for the advice!

Actually I build this project with being okay if the api key is leaked in mind, because it's just a fun project. Usually I'll wrap it so the api key won't be shown.

Will try to make an api wrapper for this project when I have some spare time.

Reynadi531 commented 3 years ago

Thank you. I really apreciate your taking time to reply my issue. Have a nice day, cheers.