pages router optimization help?
Unanswered
American black bear posted this in #help-forum
American black bearOP
hello! im new to nextjs, and i have a fork of a project that im trying to host on vercel for free. it runs great locally, but when running the production code, it times out and gives me an error (serverless function timed out.)
there isnt much code to look through, so i would greatly appreciate it if someone could look through my repo! dm me if you're available and thank you in advance!
ill give a little explanation of what the code is trying to do:
user enters username, submits -> they log in with OAuth -> their username is linked to their email in a MongoDB database
thats all. like i said it runs perfectly locally but terribly on production.
there isnt much code to look through, so i would greatly appreciate it if someone could look through my repo! dm me if you're available and thank you in advance!
ill give a little explanation of what the code is trying to do:
user enters username, submits -> they log in with OAuth -> their username is linked to their email in a MongoDB database
thats all. like i said it runs perfectly locally but terribly on production.
2 Replies
American black bearOP
i'm also considering self-hosting instead, if that solves the issue