Next.js + Auth0 deployed on Digital Ocean (App Platform)

Has anyone successfully deployed a Next.js app using Auth0 on Digital Ocean App Platform?

This issue I’m receiving is the /api/auth/login route is creating a 404, yet it works perfectly on localhost. Any suggestions?

I used Auth0’s Next.js quick-start here:

And Auth0’s starter code here: auth0-nextjs-samples/Sample-01 at main · auth0-samples/auth0-nextjs-samples · GitHub