diff options
author | Jordan Bracco <href@random.sh> | 2022-12-17 14:11:05 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | cb94651acc0e62142d5c98ad3bb243ad1ba55a5c (patch) | |
tree | 1cec80ef2f14bf7e94d8f159e82f2b51d299247e /config/config.exs | |
parent | Nola rename, cont. pt. 4. Refs T77. (diff) |
Nola rename, cont. pt. 5. Refs T77. Configs.
find config -type f | xargs sed -i '' 's/LSG/Nola/g'
find config -type f | xargs sed -i '' 's/lsg/nola/g'
BREAKING CHANGE: Config keys switch from `:lsg` to `:nola`
Diffstat (limited to '')
-rw-r--r-- | config/config.exs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/config/config.exs b/config/config.exs index e1bbf1f..caeeb69 100644 --- a/config/config.exs +++ b/config/config.exs @@ -13,12 +13,12 @@ config :logger, :console, config :phoenix, :json_library, Jason # General application configuration -config :lsg, - namespace: LSG +config :nola, + namespace: Nola -config :lsg, :data_path, "priv" +config :nola, :data_path, "priv" -config :lsg, :brand, +config :nola, :brand, name: "Nola", source_url: "https://phab.random.sh/source/Bot/" @@ -32,22 +32,22 @@ config :ex_aws, ] # Configures the endpoint -config :lsg, LSGWeb.Endpoint, +config :nola, NolaWeb.Endpoint, url: [host: "localhost"], secret_key_base: "cAFb7x2p/D7PdV8/C6Os18uygoD0FVQh3efNEFc5+5L529q3dofZtZye/BG12MRZ", - render_errors: [view: LSGWeb.ErrorView, accepts: ~w(html json)], + render_errors: [view: NolaWeb.ErrorView, accepts: ~w(html json)], server: true, live_view: [signing_salt: "CHANGE_ME_FFS"], - pubsub: [name: LSG.PubSub, + pubsub: [name: Nola.PubSub, adapter: Phoenix.PubSub.PG2] config :mime, :types, %{"text/event-stream" => ["sse"]} -config :lsg, LSG.IRC.LastFmHandler, +config :nola, Nola.IRC.LastFmHandler, api_key: "x", api_secret: "x" -config :lsg, LSG.IRC.YouTubeHandler, +config :nola, Nola.IRC.YouTubeHandler, api_key: "x", invidious: "yewtu.be" |