Error requesting admin API after deployment

System Information
  • Strapi Version: 4.11.5
  • Operating System: Ubuntu 22.04 (LTS) x64
  • Database: Postgres
  • Node Version: 16.20.1
  • NPM Version: 8.19.4

I’ve been following the deploymnet guide in the documentation and all was going okay. When i go to my domain, I see the Strapi Installation in production mode however if I go to /admin then I get an error whilst requesting API notice. Looking at the network panel, it is trying to access the localhost:1337.

/admin/init/ shows the following:
{“data”:{“uuid”:“351deab6-[…]-9fbd4b39d04b”,“hasAdmin”:false,“menuLogo”:null,“authLogo”:null}}

I have ran the build script for production. Any suggestions?

imageadas