Values not updating on Vercel like on local #157
-
I have a react app I built with expressjs and nodejs that works great locally with no issues. When I upload it to vercel it will only give the initial value while locally it will update the value every 30 seconds. I am guessing there is something specific to being hosted or with vercel that is causing the issue. I cant seem to find anything online that would help, I am hoping someone has run into a similar issue. (strange thing is that it did update once and then stopped and I haven't been able to recreate that.) server.js
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey there! It's been a while since you wrote in. Are you still experiencing this issue? It may be worth stripping your code back to the smallest reproduction you can. A very simple counter, or similar, so you can rule out the API call and env vars. You should also make use of log drains, in order to see what error is being presented! |
Beta Was this translation helpful? Give feedback.
Hey there! It's been a while since you wrote in. Are you still experiencing this issue?
It may be worth stripping your code back to the smallest reproduction you can. A very simple counter, or similar, so you can rule out the API call and env vars. You should also make use of log drains, in order to see what error is being presented!