Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env variables #10

Open
steveyout opened this issue Nov 18, 2024 · 7 comments
Open

.env variables #10

steveyout opened this issue Nov 18, 2024 · 7 comments

Comments

@steveyout
Copy link

can you please provide a .emv.eample or a list of env variables

@alfaruqii
Copy link
Owner

NEXT_PUBLIC_WATCHLO_API_V0=https://localhost:5000 (for movies/series -> checkout tmdb api, coz this the one that i used)
NEXT_PUBLIC_WATCHLO_API_V1=https://localhost:3000 (for get the streaming m3u8 [Anime])
NEXT_PUBLIC_WATCHLO_API_V2=https://localhost:4000 (for get the anime info, e.g details and recent, popular, trending)
NEXT_PUBLIC_GOGO_PATH=/anime/gogoanime
NEXT_PUBLIC_CUSTOM_API_KEY=(random api key for ur backend authorization)

@steveyout
Copy link
Author

NEXT_PUBLIC_WATCHLO_API_V0 is a url to tmdb server??

@alfaruqii
Copy link
Owner

No, you create ur own backend that used tmdb api

@steveyout
Copy link
Author

steveyout commented Nov 18, 2024 via email

@alfaruqii
Copy link
Owner

My pleasure, hope that helps

@steveyout
Copy link
Author

i get this error while building on vercel

Error occurred prerendering page "/anime". Read more: https://nextjs.org/docs/messages/prerender-error TypeError: Invalid URL

@ripgrim
Copy link

ripgrim commented Jan 14, 2025

@alfaruqii Can you create a .env.example file in the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants