aboutsummaryrefslogtreecommitdiff
path: root/shardweb/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-11-02 11:22:28 +0100
committerAlex Auvolat <alex@adnab.me>2018-11-02 11:22:28 +0100
commit3baa53f1da7f581619b066832b8303efbe9a46ba (patch)
treed6b49bd09fa915b93e13f3a03febc7fb1b38e9a4 /shardweb/config
parent80200dc43f271938fb14ec4eb4712e8dd7375aeb (diff)
downloadshard-3baa53f1da7f581619b066832b8303efbe9a46ba.tar.gz
shard-3baa53f1da7f581619b066832b8303efbe9a46ba.zip
Remove friends list ; add some links
Diffstat (limited to 'shardweb/config')
-rw-r--r--shardweb/config/config.exs6
1 files changed, 6 insertions, 0 deletions
diff --git a/shardweb/config/config.exs b/shardweb/config/config.exs
index a905175..0e38936 100644
--- a/shardweb/config/config.exs
+++ b/shardweb/config/config.exs
@@ -5,6 +5,11 @@
# is restricted to this project.
use Mix.Config
+# Make phx.routes and jsroutes work
+config :shardweb, namespace: ShardWeb
+
+config :shardweb, :jsroutes, output_folder: "assets/js"
+
# Configures the endpoint
config :shardweb, ShardWeb.Endpoint,
url: [host: "localhost"],
@@ -13,6 +18,7 @@ config :shardweb, ShardWeb.Endpoint,
pubsub: [name: ShardWeb.PubSub,
adapter: Phoenix.PubSub.PG2]
+
# Configures Elixir's Logger
config :logger, :console,
format: "$time $metadata[$level] $message\n",