Skip to content

Commit

Permalink
Remove client-config file from local development server.
Browse files Browse the repository at this point in the history
Also moves the client-config file to the general app config folder.
Resolves #278
  • Loading branch information
jamesplease committed Dec 5, 2014
1 parent 01880ff commit b4da9f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ build/Release
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules

server/config
tmp
bower_components
client.dev
client.prod

config/secrets
config/personal-access-token.json
config/client-info.json
2 changes: 1 addition & 1 deletion server/util/auth-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

var ENV = process.env.NODE_ENV || 'dev';
var github = require('octonode');
var clientInfo = require('../config/client-info.json')[ENV];

var authUtil = {
url: function() {
var clientInfo = require('../../config/client-info.json')[ENV];
return github.auth.config({
id: clientInfo.clientId,
secret: clientInfo.clientSecret
Expand Down

0 comments on commit b4da9f1

Please sign in to comment.