the entire app works fine with both development and production environment