Disable Console Logs
$isProduction = true; $triggerWords = [‘.loc’, ‘localhost’, ‘.local’, ‘staging.’, ‘.staging’, ‘.testing’, ‘.dev’]; // edit triggerWords for your setup, these as fairly standard identifiers of non production env // the goal is to check the root url for a string that…Continue reading