mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
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:
parent
f6966d322c
commit
7ec2184843
1 changed files with 5 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue