old_contents: import os
  
  PROD = os.environ.get("PROD") == "true"
  
  ALLOWED_ORIGINS = ["https://projects.myapps.gallery"] if PROD else ["*"]  # http://localhost:3000
  KEY_LOCATIONS = ["keys.json", "/home/deploy/server/keys.json"]
  
new_contents: import os
  
  PROD = os.environ.get("PROD") == "true"
  
  ALLOWED_ORIGINS = ["http://projects.myapps.gallery"] if PROD else ["*"]  # http://localhost:3000
  KEY_LOCATIONS = ["keys.json", "/home/deploy/server/keys.json"]
  
subject: Downgrade to http