debsishu / Miyou

An anime discovery, streaming site made with React.js. It uses AniList API and video data from GogoAnime. No ads and no VPN required.
https://miyouanime.vercel.app/
73 stars 31 forks source link

Cant seem to load #4

Closed itz-dude closed 2 years ago

itz-dude commented 2 years ago

where are you hosting it for me after hosting it on vercel i cant see and content loading

debsishu commented 2 years ago

where are you hosting it for me after hosting it on vercel i cant see and content loading

I have CORS enabled in the backend so it is not allowing access from your domain I have added localhost:3000 in CORS white list. So if you run locally it will work. But if you want to host it you have to change the backend CORS white list and host that too

itz-dude commented 2 years ago

where are you hosting it for me after hosting it on vercel i cant see and content loading

I have CORS enabled in the backend so it is not allowing access from your domain I have added localhost:3000 in CORS white list. So if you run locally it will work. But if you want to host it you have to change the backend CORS white list and host that too

oh can you tell me what to edit?

debsishu commented 2 years ago

where are you hosting it for me after hosting it on vercel i cant see and content loading

I have CORS enabled in the backend so it is not allowing access from your domain I have added localhost:3000 in CORS white list. So if you run locally it will work. But if you want to host it you have to change the backend CORS white list and host that too

oh can you tell me what to edit?

Fork the backend repo and add .env file in the root directory and edit the .env file as I've have written from the readme.md