adonis-pusher
Version:
Pusher provider for AdonisJs
43 lines (40 loc) • 1.57 kB
JavaScript
const Env = use('Env')
module.exports = {
/*
|--------------------------------------------------------------------------
| APP ID from Pusher
|--------------------------------------------------------------------------
*/
appId: Env.get('PUSHER_APP_ID'),
/*
|--------------------------------------------------------------------------
| APP KEy from Pusher
|--------------------------------------------------------------------------
*/
key: Env.get('PUSHER_APP_KEY'),
/*
|--------------------------------------------------------------------------
| API SECRET from Pusher
|--------------------------------------------------------------------------
*/
secret: Env.get('PUSHER_SECRET_KEY'),
/*
|--------------------------------------------------------------------------
| Encrypted is optional, defaults to false
|--------------------------------------------------------------------------
*/
encrypted: Env.get('PUSHER_ENCRYPTED', false),
/*
|--------------------------------------------------------------------------
| Host is optional, defaults to api.pusherapp.com
|--------------------------------------------------------------------------
*/
host: Env.get('PUSHER_HOST', 'api.pusherapp.com'),
/*
|--------------------------------------------------------------------------
| Port is optional, defaults to 80 for unencrypted and 443 for encrypted
|--------------------------------------------------------------------------
*/
port: Env.get('PUSHER_PORT', '80')
}