Added plain http for development, https for production