mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-05-23 11:06:44 -04:00
refactor: [UEPR-176] use env variable for ideas generator source
This commit is contained in:
parent
8a2632fdc1
commit
5f3da16439
2 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,7 @@ const Ideas = ({
|
|||
<div className="banner-wrapper">
|
||||
<iframe
|
||||
ref={iframeRef}
|
||||
src={`http://localhost:8333/projects/9999927/embed`}
|
||||
src={`${process.env.IDEAS_GENERATOR_SOURCE}/embed`}
|
||||
width="485"
|
||||
height="402"
|
||||
allowfullscreen
|
||||
|
|
|
@ -310,6 +310,7 @@ module.exports = {
|
|||
'process.env.QUALITATIVE_FEEDBACK_ENDING_DATE': `"${
|
||||
process.env.QUALITATIVE_FEEDBACK_ENDING_DATE || '2024-11-20'
|
||||
}"`,
|
||||
// Given user frequency X, show qualitative feedback to 1 in X users
|
||||
'process.env.QUALITATIVE_FEEDBACK_IDEAS_GENERATOR_USER_FREQUENCY': `"${
|
||||
process.env.QUALITATIVE_FEEDBACK_IDEAS_GENERATOR_USER_FREQUENCY || 2
|
||||
}"`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue