Msp dashboard: update sails-hook-sockets configuration (#23303)

Changes:
- Updated the `sails.hook.sockets` configuration to enable the sockets
hook.
This commit is contained in:
Eric 2024-10-28 14:40:40 -05:00 committed by GitHub
parent f6966d322c
commit 7ec2184843
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.