I’m looking for some help fixing a 404 error on my GitLab Pages site. I don’t get this error when running locally, so I’m struggling to understand how to fix it once the code is built in my pipeline.
The res.ok key is false, so the error is thrown.
Does this imply a problem accessing the server-side functions? Is this not available in GitLab Pages? Or does it imply that the MongoDB collection cannot be reached from this fetch method?
Thank you very much for any help.