From d28684dbda871e3e5ab3f5b474c32d69cb390de3 Mon Sep 17 00:00:00 2001 From: Nathan Sprenkle Date: Tue, 6 Feb 2024 15:30:31 -0500 Subject: [PATCH] feat: add ORA MFE to devstack CSRF trusted origins (#34197) --- cms/envs/devstack.py | 1 + lms/envs/devstack.py | 1 + 2 files changed, 2 insertions(+) diff --git a/cms/envs/devstack.py b/cms/envs/devstack.py index f7b793559185..a754a2c9955c 100644 --- a/cms/envs/devstack.py +++ b/cms/envs/devstack.py @@ -313,6 +313,7 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing CSRF_TRUSTED_ORIGINS = [ 'http://localhost:3001', # frontend-app-library-authoring 'http://localhost:2001', # frontend-app-course-authoring + 'http://localhost:1992', # frontend-app-ora ] #################### Event bus backend ######################## diff --git a/lms/envs/devstack.py b/lms/envs/devstack.py index d379283cce12..e922d574ec5c 100644 --- a/lms/envs/devstack.py +++ b/lms/envs/devstack.py @@ -544,6 +544,7 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing 'http://localhost:2000', # frontend-app-learning 'http://localhost:1997', # frontend-app-account 'http://localhost:1995', # frontend-app-profile + 'http://localhost:1992', # frontend-app-ora ]