Hi everyone, I am trying to host a nodejs server that serve my static website, and get images from the huggingface api on my server. I have tried this on replit and it works well. However, on huggingface, the cors problem occurs which it did not happen last night. This is my project (Imagen - a Hugging Face Space by kevin666444). Thank you everyone. ps: I have tried doing research and none of the solution can fix.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Http://localhost:3000 has been blocked by CORS policy - running nextjs localhost with huggingface spaces | 1 | 999 | July 27, 2023 | |
CORS Issue with HuggingFace Spaces and Netlify-hosted React App | 0 | 693 | November 17, 2023 | |
CORS errors returned after nothing changed, except other people's runtimes crashing | 0 | 253 | October 16, 2023 | |
403 Forbidden when trying to access api of a public space | 3 | 79 | August 5, 2024 | |
No 'Access-Control-Allow-Origin' header error on embed | 11 | 2483 | October 28, 2022 |