Admin button is missing in production

System Information:

Strapi Version : “3.6.5”

Operating System : windows

Database : mongodb

Node Version : “14.17.3”

NPM Version : “6.14.13”

Yarn Version :
[Hi there, I am hosting my strapi project on ec2/aws and when I want to get the strapi admin in production mode, the blue button that do that is missing and I need to type manually “/admin”, but I do not want a user/editor will need to type that, is there a way to refer directly to the admin when the running strapi in production? thus is my server.js file:
module.exports = ({ env }) => ({

host: env(‘HOST’, ‘0.0.0.0’),

port: env.int(‘PORT’, 1337),

admin: {

auth: {

secret: env('ADMIN_JWT_SECRET', 'xxxxxxxx'),

},

},

});
in dev mode:

image816×343 19.5 KB

thanks for any help!


Did you get any solution for above problem??
If you got, please share!

This button was supposed to appear in version 4 but this has not been fixed yet