aboutsummaryrefslogtreecommitdiff
path: root/shardweb/config
diff options
context:
space:
mode:
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",