#Admin doesn't work in production
21 messages · Page 1 of 1 (latest)
Hello @pine token ! Good morning
When setting up payload to be on a different url, like /payload
there is some additional configuration
Which has some solid information about payload base route changes
If you still need help after, let us know!
Helloo. hmm, understood. I also tested it without this additional configuration that I made "/payload", and it still wasn't working.
can you help me?
Good morning!
Hmmm
@pine token Could you please give me a little context for the issue - happy to help!
For instance, is this based on a template or the default installation of payload?
I just cloned the official repo and tried to upload the custom-server on vercel. But the admin route doesn't work.
hmm
Can you share some of the errors youre getting?
Admin route not working generally means an initial config issue
@pine token what repo?
I just cloned and tried to climb the vercel. I don't know if I need to do any additional configuration for this to work
Custom servers cannot be deployed on Vercel, Vercel is serverless. We do have a repo that will deploy serverless: https://github.com/payloadcms/next-payload-demo
Please read the "Known gotchas" in the README though.