How do I solve a var.map is not a function TypeError?

@DMehaffy Ok, I’ve managed to install PostgreSQL and run the API from my machine. Nothing changed as there are no new files added to the project from this.

The blog page loads properly when I use https://protected-eyrie-31544.herokuapp.com as API_URL but doesn’t load when I use https://major-harpia.herokuapp.com which is my own API, pretty much identical to the protected-eyrie one.

Why is this happening? Could it have something to do with the jwt token used in server.js?

module.exports = ({ env }) => ({
  host: env('HOST', '0.0.0.0'),
  port: env.int('PORT', 1337),
  admin: {
    auth: {
      secret: env('ADMIN_JWT_SECRET', '7cb260a16ee334dcecc1e64c07d72348'),
    },
  },
});

I haven’t generated the token above so I don’t know what exactly it does or if it’s working properly.