lerobot/lerobot/scripts/allowed_hosts.py

8 lines
193 B
Python

# 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
}