in services/config.js [122:138]
checkEnvVariables: function() {
ENV_VARS.forEach(function(key) {
if (!process.env[key]) {
console.warn("WARNING: Missing the environment variable " + key);
} else {
// Check that urls use https
if (["APP_URL", "SHOP_URL"].includes(key)) {
const url = process.env[key];
if (!url.startsWith("https://")) {
console.warn(
"WARNING: Your " + key + ' does not begin with "https://"'
);
}
}
}
});
}