Skip to content

Commit

Permalink
doc: warning against accidentally disabling CSRF protection
Browse files Browse the repository at this point in the history
  • Loading branch information
Pachakutiq committed Feb 8, 2024
1 parent ce29687 commit 559fd0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions global_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
user_cache_path = "./canvas/user_caches/"

front_end_domain = "https://canvashelper.netlify.app" # Used to set CORS and redirect to root path
# THIS ALSO PROVIDES CSRF ATTACK PROTECTION! MUSN'T BE CHANGED TO "*" OR ANYTHING ELSE UNLESS YOU KNOW WHAT YOU'RE DOING
uvicorn_domain = "localhost" # Used to start uvicorn locally by running: `python canvas_app.py`
uvicorn_port = 9283

Expand Down

0 comments on commit 559fd0a

Please sign in to comment.