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

Aniwatch API Server not working #118

Open
Whitehat267 opened this issue Nov 12, 2024 · 4 comments
Open

Aniwatch API Server not working #118

Whitehat267 opened this issue Nov 12, 2024 · 4 comments

Comments

@Whitehat267
Copy link

The aniwatch API is hosted and with the same repo listed in the Readme file. But the Aniwatch sever is not working and showing offline.

@ErickLimaS
Copy link
Owner

Have you set all the necessary settings from .env.example in the Aniwatch Repo? Specifically, this one:

ANIWATCH_API_CORS_ALLOWED_ORIGINS=https://your-production-domain.com,https://another-trusted-domain.com

You'll need to allow the Cors to the domains of your hosted website

@Whitehat267
Copy link
Author

Now the vercel shows the error that there is a problem running 'npm run build'

@ErickLimaS
Copy link
Owner

Can you take a screenshot of the error for me?

@IshaanGupta358
Copy link

Yes sure!
Screenshot_2024-11-21-09-44-03-53_4641ebc0df1485bf6b47ebd018b5ee76.jpg

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