old_contents: # -*- coding: utf-8 -*-
  import os
  import sys
  
  from configurations import values
  from postgresify import postgresify
  
  from .base import Base as Settings
  
  
  class Production(Settings):
      # Debug Settings.
      # --------------------------------------------------------------------------
      DEBUG = values.BooleanValue(False)
  
      # Secret Key Configuration.
      # --------------------------------------------------------------------------
      SECRET_KEY = os.environ.get('SECURE_KEY', '').split(',')[0]
  
      # Database Configuration.
      # --------------------------------------------------------------------------
      DATABASES = postgresify()
      if 'default' in DATABASES:  # pragma: no branch
          DATABASES['default']['CONN_MAX_AGE'] = 600
  
new_contents: # -*- coding: utf-8 -*-
  import os
  import sys
  
  from configurations import values
  from postgresify import postgresify
  
  from .base import Base as Settings
  
  
  class Production(Settings):
      # Debug Settings.
      # --------------------------------------------------------------------------
      DEBUG = values.BooleanValue(False)
  
      # Secret Key Configuration.
      # --------------------------------------------------------------------------
      SECRET_KEY = os.environ.get('SECURE_KEY', '').split(',')[0]
  
      # Site Configuration.
      # --------------------------------------------------------------------------
      ALLOWED_HOSTS = [
          '.avalonstar.tv', '.avalonstar.tv.',
          '.avalonstar-api.herokuapp.com', '.avalonstar-api.herokuapp.com.',
      ]
  
      # Database Configuration.
      # --------------------------------------------------------------------------
      DATABASES = postgresify()
      if 'default' in DATABASES:  # pragma: no branch
          DATABASES['default']['CONN_MAX_AGE'] = 600
  
subject: Add ALLOWED_HOSTS.