2021-04-08 18:19:52 +00:00
|
|
|
import Config
|
2020-12-29 08:44:45 +00:00
|
|
|
|
2022-05-04 02:13:47 +00:00
|
|
|
config :activity_pub, :test_repo, Bonfire.Common.Repo
|
|
|
|
config :activity_pub, :repo, Bonfire.Common.Repo
|
2022-03-10 00:01:20 +00:00
|
|
|
config :activity_pub, :endpoint_module, Bonfire.Web.Endpoint
|
2020-12-29 08:44:45 +00:00
|
|
|
|
2021-03-03 10:27:59 +00:00
|
|
|
config :activity_pub, :adapter, Bonfire.Federate.ActivityPub.Adapter
|
2020-12-29 08:44:45 +00:00
|
|
|
|
2022-05-04 02:13:47 +00:00
|
|
|
config :activity_pub, ecto_repos: [Bonfire.Common.Repo]
|
2020-12-29 08:44:45 +00:00
|
|
|
|
|
|
|
config :activity_pub, Oban,
|
2022-05-04 02:13:47 +00:00
|
|
|
repo: Bonfire.Common.Repo,
|
2020-12-29 08:44:45 +00:00
|
|
|
queues: false
|
|
|
|
|
2022-09-12 04:34:14 +00:00
|
|
|
config :activity_pub, :instance, federating: false
|
|
|
|
# rewrite_policy: [ActivityPub.MRF.SimplePolicy]
|
2020-12-29 08:44:45 +00:00
|
|
|
|
|
|
|
config :tesla, adapter: Tesla.Mock
|
|
|
|
|
|
|
|
# Print only warnings and errors during test
|
|
|
|
config :logger, level: :warn
|
2022-03-10 00:01:20 +00:00
|
|
|
|
|
|
|
config :activity_pub, ActivityPubWeb.Endpoint,
|
2022-03-16 04:30:58 +00:00
|
|
|
http: [port: 4000],
|
2022-03-10 00:01:20 +00:00
|
|
|
server: false
|