summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhref <href@random.sh>2020-07-07 21:39:10 +0200
committerhref <href@random.sh>2020-07-07 21:39:51 +0200
commitd6ee134a5957e299c3ad59011df320b3c41e6e61 (patch)
tree29567e6635466f8a3415a935b3cc8a777019f5bc /config
parentbleh (diff)
pouet
Diffstat (limited to 'config')
-rw-r--r--config/config.exs9
-rw-r--r--config/dev.exs2
2 files changed, 10 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index c8234ff..139e646 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -13,6 +13,15 @@ config :lsg, :data_path, "priv"
config :lsg, :icecast_poll_interval, 600_000
+config :ex_aws,
+ region: "us-east-1",
+ host: "s3.wasabisys.com",
+ s3: [
+ host: "s3.wasabisys.com",
+ region: "us-east-1",
+ scheme: "https://"
+ ]
+
# Configures the endpoint
config :lsg, LSGWeb.Endpoint,
url: [host: "localhost"],
diff --git a/config/dev.exs b/config/dev.exs
index 57ab926..24e9b16 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -7,7 +7,7 @@ use Mix.Config
# watchers to your application. For example, we use it
# with brunch.io to recompile .js and .css sources.
config :lsg, LSGWeb.Endpoint,
- http: [port: 4000],
+ http: [port: 4012, ip: {0,0,0,0}],
debug_errors: true,
code_reloader: true,
check_origin: false,