old_contents: import os
  from .base import Base
  
  
  class Production(Base):
      '''
      QOTR production configuration.
      '''
  
      host = os.environ.get('HOST') or 'localhost'
      port = os.environ.get('PORT')
  
      debug = False
      allowed_origin = os.environ.get('ALLOWED_ORIGIN')
      redirect_to_https = True
  
new_contents: import os
  from .base import Base
  
  
  class Production(Base):
      '''
      QOTR production configuration.
      '''
  
      host = os.environ.get('HOST', 'localhost')
      port = os.environ.get('PORT')
  
      debug = False
      allowed_origin = os.environ.get('CORS_ALLOWED_ORIGIN', '')
      redirect_to_https = True
  
subject: Fix production environment variables