ChrisMichaelPerezSantiago / gogoanime

Gogoanime is a custom API that provides data from the 10.gogoanime.io website. You will have access to the entire catalog whether movies, series, current episodes, etc., with English subtitles.
MIT License
73 stars 52 forks source link

Add .env support and fix invalid episode handling #8

Closed nalimhahs closed 3 years ago

nalimhahs commented 3 years ago

The gogo website url can now be passed via a BASE_URL environment variable. This would be very useful in cases where this would be used as a module rather than an api and since the main gogo anime website url changes often.

Also fixed an issue where the app would crash if provided an invalid episode id in the animeEpisodeHandler endpoint.

ChrisMichaelPerezSantiago commented 3 years ago

@nalimhahs thanks for your contribution!

ChrisMichaelPerezSantiago commented 3 years ago

@nalimhahs thanks for your contribution!