summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-02 02:48:38 +0200
committerhref <href@random.sh>2021-09-02 02:50:25 +0200
commitb429aaa33910fe445e92503ae3cc7db67b806a42 (patch)
tree1634846a6c4b82d457f22fa461444c95966c6086 /config/config.exs
parentlink: humanize file size (diff)
chores
Diffstat (limited to '')
-rw-r--r--config/config.exs12
1 files changed, 11 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index 139e646..ba4426d 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -5,6 +5,11 @@
# is restricted to this project.
use Mix.Config
+config :logger, level: :debug
+config :logger, :console,
+ format: "$date $time [$level$levelpad] $metadata$message\n",
+ metadata: :all
+
# General application configuration
config :lsg,
namespace: LSG
@@ -38,6 +43,8 @@ config :logger, :console,
config :mime, :types, %{"text/event-stream" => ["sse"]}
+# THIS IS NOT USED ANYMORE!
+# XXX: Make sure it is not used anymore and remove..
config :lsg, :irc,
name: "irc bot",
handlers: [
@@ -76,8 +83,11 @@ config :lsg, LSG.IRC.LastFmHandler,
api_secret: "x"
config :lsg, LSG.IRC.YouTubeHandler,
- api_key: "x"
+ api_key: "x",
+ invidious: "yewtu.be"
+config :mnesia,
+ dir: '.mnesia/#{Mix.env}/#{node()}'
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.