Calling Nuxt 3 Server API returns HTTP 500
hi, I'm new to web dev and cloudflare.
Right now, I have uploaded my Nuxt 3 project onto github and connected Cloudflare with Nuxthub. I have the site showing properly but it is returning HTTP 500 on all server requests to my Firebase within the site. I'm unsure what to do.
this is the error log
I'm not sure if it's relevant but I have resolve a problem relating to HTTP 500 which was to add
jose
module as a json web token manager. I have the token being passed around properly and set in the cookie.
Things I know:
1. doing the request works locally.
2. environment variables are set correctly
3. CloudFlare pages/worker(?) runs on a different environment than npm which is V8(?) and some npm packages are not supported
4. I have not set anything else aside from the DNS which connected the Nuxthub link to the purchased web domain
I'd like some assistance on this one since I have no clue what I should be doing anymore0 Replies