projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update changelog
[akkoma]
/
config
/
dev.exs
diff --git
a/config/dev.exs
b/config/dev.exs
index 7b06ad67ece9541d79fd20c28f8c2e68cf5f984a..0432adce71bf352d63e45a8978dc71b03658a9f5 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,10
@@
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