projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix format
[akkoma]
/
config
/
dev.exs
diff --git
a/config/dev.exs
b/config/dev.exs
index 7b06ad67ece9541d79fd20c28f8c2e68cf5f984a..4faaeff5bfbf7881f72468a3a33d44b4f8a6abf9 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,15
@@
config :pleroma, Pleroma.Repo,
hostname: "localhost",
pool_size: 10
hostname: "localhost",
pool_size: 10
-try do
+config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: true
+
+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")