Cors problem for nodejs server

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.