Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Admin route when not using serverless

default discord avatar
nlvogellast year
3

When hosting PayloadCMS (Railway) and my front end (Vercel) separately, how do you all set the admin UI to mysite.com/admin? Does serverUrl take care of that?

  • default discord avatar
    paulpopuslast year

    Yep! serverUrl is a config for the frontend of payload itself

  • default discord avatar
    nlvogellast year

    Thank you!

  • default discord avatar
    paulpopuslast year

    Make sure you set

    cors

    and

    csrf

    configs as well, usually the forgotten ones in deployment! @nlvogel

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team..