aboutsummaryrefslogtreecommitdiff
path: root/utilities/hash_script/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/hash_script/generate.sh')
-rwxr-xr-xutilities/hash_script/generate.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/utilities/hash_script/generate.sh b/utilities/hash_script/generate.sh
new file mode 100755
index 0000000..94c770e
--- /dev/null
+++ b/utilities/hash_script/generate.sh
@@ -0,0 +1,7 @@
+node index.js > whitelist
+
+
+data=`cat whitelist`
+echo "module.exports = {
+ whitelist: $data
+};" > whitelist