Merge pull request #2879 from marado/develop

docs: added CSRF_TRUSTED_ORIGINS to the example
This commit is contained in:
Griatch 2022-10-02 10:35:40 +02:00 committed by GitHub
commit 8f5b8b49b4

View file

@ -85,6 +85,10 @@ WEBSOCKET_CLIENT_PORT = 4002
WEBSERVER_PORTS = [(4001, 4005)]
AMP_PORT = 4006
# This needs to be set to your website address for django or you'll receive a
# CSRF error when trying to log on to the web portal
CSRF_TRUSTED_ORIGINS = ['https://mymudgame.com']
# Optional - security measures limiting interface access
# (don't set these before you know things work without them)
TELNET_INTERFACES = ['203.0.113.0']