The Sample App I downloaded from the "Use your Webcam" page leads to a 500 error

I am working on an object detection program and I am trying to build an app on top of the existing webcam app. I am using a macbook and running this on chrome. I have set up a http-server using npm.
However, whenever I run the app (no changes to the code), I receive a 500 error code. It says that it is unable to get to my Roboflow API link.

How can I fix this? It was working just fine 3 days ago.

me too. Please solve it quickly.