aboutsummaryrefslogtreecommitdiff
path: root/shardweb/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-11 11:02:35 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-11 11:02:35 +0200
commit7b6042205e7c6135fae4e0d21dbf7a5975e8491b (patch)
tree58fc563458702fb456729b79802eacb547a8fc66 /shardweb/config
parenta2f678dc510e642479d61b81148a433edd7b76fe (diff)
downloadshard-7b6042205e7c6135fae4e0d21dbf7a5975e8491b.tar.gz
shard-7b6042205e7c6135fae4e0d21dbf7a5975e8491b.zip
Clean up
Diffstat (limited to 'shardweb/config')
-rw-r--r--shardweb/config/config.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/shardweb/config/config.exs b/shardweb/config/config.exs
index 2b698c1..a905175 100644
--- a/shardweb/config/config.exs
+++ b/shardweb/config/config.exs
@@ -20,6 +20,7 @@ config :logger, :console,
# Configuration for Shard itself (see shard/config/config.exs for explanations)
+config :shard, port: elem (Integer.parse ((System.get_env "PORT") || "4044")), 0
config :shard, network_key: :crypto.hash(:sha256, "ShardTestNet")
config :shard, identity_suffix: "ID"
config :shard, data_path: Path.join [System.user_home, "shard", "data2"]