diff --git a/ee/bulk-operations-dashboard/config/env/production.js b/ee/bulk-operations-dashboard/config/env/production.js index 64f152a19c..d2c07dba73 100644 --- a/ee/bulk-operations-dashboard/config/env/production.js +++ b/ee/bulk-operations-dashboard/config/env/production.js @@ -272,10 +272,11 @@ module.exports = { * > Be sure to use the right protocol! ("http://" vs. "https://") * * * ***************************************************************************/ - // onlyAllowOrigins: [ + onlyAllowOrigins: [ + process.env.BASE_URL, // 'https://example.com', // 'https://staging.example.com', - // ], + ], /*************************************************************************** @@ -290,8 +291,8 @@ module.exports = { * (https://sailsjs.com/docs/concepts/deployment/scaling) * * * ***************************************************************************/ - // adapter: '@sailshq/socket.io-redis', - // url: 'redis://user:password@bigsquid.redistogo.com:9562/databasenumber', + adapter: '@sailshq/socket.io-redis', + url: process.env.REDIS_TLS_URL, //-------------------------------------------------------------------------- // /\ OR, to avoid checking it in to version control, you might opt to // || set sensitive credentials like this using an environment variable.