diff options
author | NateN1222 <nathannichols454@gmail.com> | 2018-03-17 10:16:44 -0500 |
---|---|---|
committer | NateN1222 <nathannichols454@gmail.com> | 2018-03-17 10:16:44 -0500 |
commit | 5c3315ceb455119ecf708ec46815e4c08af7ba23 (patch) | |
tree | 3b3b36ba0dd3e9bf6574550acdce191e7b932649 /hash_script/generate.sh | |
parent | 6816edd1aab136a3bc806489ab7ed317f38be552 (diff) |
Improved automatic whitelist system with a new script to handle generating/including the whitelist in the main script.
Diffstat (limited to 'hash_script/generate.sh')
-rwxr-xr-x | hash_script/generate.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hash_script/generate.sh b/hash_script/generate.sh new file mode 100755 index 0000000..94c770e --- /dev/null +++ b/hash_script/generate.sh @@ -0,0 +1,7 @@ +node index.js > whitelist + + +data=`cat whitelist` +echo "module.exports = { + whitelist: $data +};" > whitelist |