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 f7b7935591..a754a2c995 100644 --- a/cms/envs/devstack.py +++ b/cms/envs/devstack.py @@ -313,6 +313,7 @@ AI_TRANSLATIONS_API_URL = 'http://localhost:18760/api/v1' 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 d379283cce..e922d574ec 100644 --- a/lms/envs/devstack.py +++ b/lms/envs/devstack.py @@ -544,6 +544,7 @@ CSRF_TRUSTED_ORIGINS = [ 'http://localhost:2000', # frontend-app-learning 'http://localhost:1997', # frontend-app-account 'http://localhost:1995', # frontend-app-profile + 'http://localhost:1992', # frontend-app-ora ]