diff --git a/.env b/.env index e5fa2f49a9..6399fda7d2 100644 --- a/.env +++ b/.env @@ -42,3 +42,4 @@ INVITE_STUDENTS_EMAIL_TO='' AI_TRANSLATIONS_BASE_URL='' ENABLE_HOME_PAGE_COURSE_API_V2=false ENABLE_CHECKLIST_QUALITY='' +ENABLE_GRADING_METHOD_IN_PROBLEMS=false diff --git a/.env.development b/.env.development index 71f65a6d52..983ce9674f 100644 --- a/.env.development +++ b/.env.development @@ -45,3 +45,4 @@ INVITE_STUDENTS_EMAIL_TO="someone@domain.com" AI_TRANSLATIONS_BASE_URL='http://localhost:18760' ENABLE_HOME_PAGE_COURSE_API_V2=false ENABLE_CHECKLIST_QUALITY=true +ENABLE_GRADING_METHOD_IN_PROBLEMS=false diff --git a/.env.test b/.env.test index 7d74809b47..28240ad2ff 100644 --- a/.env.test +++ b/.env.test @@ -36,3 +36,4 @@ BBB_LEARN_MORE_URL='' INVITE_STUDENTS_EMAIL_TO="someone@domain.com" ENABLE_HOME_PAGE_COURSE_API_V2=true ENABLE_CHECKLIST_QUALITY=true +ENABLE_GRADING_METHOD_IN_PROBLEMS=false diff --git a/src/index.jsx b/src/index.jsx index a3d20a433a..889063acd7 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -124,6 +124,7 @@ initialize({ ENABLE_TAGGING_TAXONOMY_PAGES: process.env.ENABLE_TAGGING_TAXONOMY_PAGES || 'false', ENABLE_HOME_PAGE_COURSE_API_V2: process.env.ENABLE_HOME_PAGE_COURSE_API_V2 === 'true', ENABLE_CHECKLIST_QUALITY: process.env.ENABLE_CHECKLIST_QUALITY || 'true', + ENABLE_GRADING_METHOD_IN_PROBLEMS: process.env.ENABLE_GRADING_METHOD_IN_PROBLEMS === 'true', }, 'CourseAuthoringConfig'); }, },