Skip to content

Commit

Permalink
fix whitelist relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Apr 10, 2014
1 parent 92a1818 commit b56a3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whitelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

var whitelistObject = {domains: {}};
var currentWhitelistFilename;
var WHITELIST_DIR = './whitelist';
var WHITELIST_DIR = path.resolve(__dirname, '../whitelist');

function isAllowed(path, option) {
var bits = path.split('.');
Expand Down

0 comments on commit b56a3fa

Please sign in to comment.