diff --git a/.env.development b/.env.development index 1a8aaccf50..542850725b 100644 --- a/.env.development +++ b/.env.development @@ -47,3 +47,4 @@ TWITTER_URL='https://twitter.com/edXOnline' USER_INFO_COOKIE_NAME='edx-user-info' SESSION_COOKIE_DOMAIN='localhost' CHAT_RESPONSE_URL='http://localhost:18000/api/learning_assistant/v1/course_id' +PRIVACY_POLICY_URL='http://localhost:18000/privacy' diff --git a/.env.test b/.env.test index d183517053..b2e2ba7c34 100644 --- a/.env.test +++ b/.env.test @@ -45,3 +45,4 @@ TERMS_OF_SERVICE_URL='https://www.edx.org/edx-terms-service' TWITTER_HASHTAG='myedxjourney' TWITTER_URL='https://twitter.com/edXOnline' USER_INFO_COOKIE_NAME='edx-user-info' +PRIVACY_POLICY_URL='http://localhost:18000/privacy' diff --git a/package-lock.json b/package-lock.json index 0e1bf90203..72ad54995a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@edx/brand": "npm:@edx/brand-openedx@1.2.0", "@edx/frontend-component-footer": "12.0.0", "@edx/frontend-component-header": "4.0.0", - "@edx/frontend-lib-learning-assistant": "^1.5.0", + "@edx/frontend-lib-learning-assistant": "^1.6.0", "@edx/frontend-lib-special-exams": "2.20.1", "@edx/frontend-platform": "4.3.0", "@edx/paragon": "20.46.0", @@ -3433,9 +3433,9 @@ } }, "node_modules/@edx/frontend-lib-learning-assistant": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@edx/frontend-lib-learning-assistant/-/frontend-lib-learning-assistant-1.5.0.tgz", - "integrity": "sha512-UZDxo9xzt0NEYv+S1RHXTe2RtkNFebKWk+ZE1BiYgWk3BcwTwUfNhvKAdfg9h0N7GW4Mxzop6405NjVbL561SA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@edx/frontend-lib-learning-assistant/-/frontend-lib-learning-assistant-1.6.0.tgz", + "integrity": "sha512-UClHSjnM10+vckFK8rk7M4+qaqfk4Y0q/G+CyDD6hPhWtpyHvnU0lgAHD9OZB0KfSddT/UTkuJttZMsJnaK57A==", "dependencies": { "@edx/brand": "npm:@edx/brand-openedx@1.2.0", "@fortawesome/fontawesome-svg-core": "1.2.36", diff --git a/package.json b/package.json index 5274b0390b..1c3b5ca597 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,8 @@ "@edx/brand": "npm:@edx/brand-openedx@1.2.0", "@edx/frontend-component-footer": "12.0.0", "@edx/frontend-component-header": "4.0.0", + "@edx/frontend-lib-learning-assistant": "^1.6.0", "@edx/frontend-lib-special-exams": "2.20.1", - "@edx/frontend-lib-learning-assistant": "^1.5.0", "@edx/frontend-platform": "4.3.0", "@edx/paragon": "20.46.0", "@edx/react-unit-test-utils": "npm:@edx/react-unit-test-utils@1.5.3", diff --git a/src/index.jsx b/src/index.jsx index aead22b66c..05a72f5f61 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -138,6 +138,7 @@ initialize({ PROCTORED_EXAM_FAQ_URL: process.env.PROCTORED_EXAM_FAQ_URL || null, PROCTORED_EXAM_RULES_URL: process.env.PROCTORED_EXAM_RULES_URL || null, CHAT_RESPONSE_URL: process.env.CHAT_RESPONSE_URL || null, + PRIVACY_POLICY_URL: process.env.PRIVACY_POLICY_URL || null, }, 'LearnerAppConfig'); }, },