tor-router/lib/hosts.js
Zachary Boyd f432c72b3f final
2015-12-29 21:44:48 -05:00

7 lines
220 B
JavaScript

const shell = require('shelljs');
const HOSTS = shell.cat(__dirname+'/../config/hosts')
.split("\n")
.filter((host) => (host[0] !== '#') && host.trim().length)
.map((line) => line.split(' '));
module.exports = HOSTS;