title: Why does res.json() return fine on localhost but not on a live website?
body: <p>I've been trying to send JSON data from server to client via endpoints using <code>fetch()</code>, but in the developer console it gives a 404 Missing File error. When I create folders named after the endpoints, it changes to a 403 Forbidden, even though it has the same permissions as any other folder. How do I get the endpoints set up properly? I can provide any more requested details</p>