mirror of
https://github.com/RunLit/Bambu-Run.git
synced 2026-10-21 15:37:38 +01:00
fixed CSRF_TRUSTED_ORIGINS not set when setup
This commit is contained in:
@@ -124,7 +124,9 @@ PRINTER_IP = os.environ.get("PRINTER_IP", "")
|
||||
ACCESS_TOKEN = os.environ.get("ACCESS_TOKEN", "")
|
||||
PRINTER_SERIAL = os.environ.get("PRINTER_SERIAL", "")
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS", "").split(",")
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
origin for origin in os.environ.get("CSRF_TRUSTED_ORIGINS", "").split(",") if origin
|
||||
]
|
||||
|
||||
# Logging
|
||||
LOGGING = {
|
||||
|
||||
Reference in New Issue
Block a user