Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Small changes/adding cfg #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Small changes/adding cfg #19

wants to merge 3 commits into from

Conversation

bshabanov
Copy link

adding a config file

… for debug, config for faye and gitti fake user
… for debug, config for faye and gitti fake user

config.hostname = process.env.DEBUG ? "localhost" : "irc.gitter.im";
// '&& false' because of no 'faye'
config.gitter = process.env.DEBUG && false ? {client: {host: "localhost", port: 5000, prefix: true}, faye: {host: 'http://localhost:5000/faye'}} : {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

process.env.DEBUG should be process.env.DEV

@malditogeek
Copy link
Contributor

Thanks @bshabanov! I added a few comments, if you improve it a bit I'll be able to merge it in. Also, if you merge upstream master the test should be working now.

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants