andela/codepirates-ah-backend

View on GitHub
src/services/pusher.config.js

Summary

Maintainability
A
0 mins
Test Coverage
import Pusher from 'pusher';
import 'dotenv/config';

const pusher = new Pusher({
  appId: process.env.PUSHER_APP_ID,
  key: process.env.PUSHER_APP_KEY,
  secret: process.env.PUSHER_APP_SECRET,
  cluster: 'ap2'
});

export default pusher;