projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct dependencies for RUM on alpine and remove installcheck
[akkoma]
/
config
/
dev.exs
diff --git
a/config/dev.exs
b/config/dev.exs
index 7b06ad67ece9541d79fd20c28f8c2e68cf5f984a..7e1e3b4beb2a5add28c054f79f71c3ee328708ae 100644
(file)
--- a/
config/dev.exs
+++ b/
config/dev.exs
@@
-15,7
+15,10
@@
config :pleroma, Pleroma.Web.Endpoint,
debug_errors: true,
code_reloader: true,
check_origin: false,
debug_errors: true,
code_reloader: true,
check_origin: false,
- watchers: []
+ watchers: [],
+ secure_cookie_flag: false
+
+config :pleroma, Pleroma.Emails.Mailer, adapter: Swoosh.Adapters.Local
# ## SSL Support
#
# ## SSL Support
#
@@
-49,11
+52,13
@@
config :pleroma, Pleroma.Repo,
hostname: "localhost",
pool_size: 10
hostname: "localhost",
pool_size: 10
-
try
do
+
if File.exists?("./config/dev.secret.exs")
do
import_config "dev.secret.exs"
import_config "dev.secret.exs"
-rescue
- _ ->
- IO.puts(
- "!!! RUNNING IN LOCALHOST DEV MODE! !!!\nFEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs"
- )
+else
+ IO.puts(
+ "!!! RUNNING IN LOCALHOST DEV MODE! !!!\nFEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs"
+ )
end
end
+
+if File.exists?("./config/dev.exported_from_db.secret.exs"),
+ do: import_config("dev.exported_from_db.secret.exs")