# List of allowed schemes and hosts for external requests ALLOWED_SCHEMES = {"http", "https"} ALLOWED_HOSTS = { "localhost", "127.0.0.1", # Add other trusted hosts here as needed }