SOLVE: Page not found. Homepage ok

I have a website with you running Nextjs. Decided to make a page in the folder: pages > apps > xero > index.js. All works on local machine. Made a deploy then navigated to https://elastic-joliot-524d89.netlify.com/apps/xero (as I do locally with localhost:3000/apps/xero), I get page not found. Am I missing a config?

My bad. I had

 exportPathMap: function () {
    return {
      '/': { page: '/' }
    }
  },

in my next.config.js :stuck_out_tongue_closed_eyes: