Next.js Discord

Discord Forum

API 304 status code

Unanswered
Pacific sand lance posted this in #help-forum
Open in Discord
Pacific sand lanceOP
I have an admin page containing a few information like the total number of users, the admin page on development mode works completely fine, but when in build, it just display the previous data, with code 304 in the logs. does anyone know how should i fix this? here's my code
https://pastecode.io/s/5oeoirdw
(in a link because the code is a bit long)

0 Replies