I've managed to resolve this 'undefined' issue by copying the .env file to process.env, as the server.js was trying to get the configuration from the absent process.env file. Now, I'm properly redirecting to my development store's URL instead of unde...