Cannot send secure cookie over unencrypted connection

Hi!

I put it in the server.js file:

module.exports = ({ env }) => ({
url: env('PUBLIC_URL', ''),
proxy: true,
admin: {
    url: env('PUBLIC_ADMIN_URL', '/'),
    auth: {
        secret: env('ADMIN_JWT_SECRET', ''),
    },
},

});

Found the solution here:

3 Likes