mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-04-28 23:38:44 +00:00
26 lines
678 B
Elixir
26 lines
678 B
Elixir
import Config
|
|
|
|
config :activity_pub, :test_repo, Bonfire.Common.Repo
|
|
config :activity_pub, :repo, Bonfire.Common.Repo
|
|
config :activity_pub, :endpoint_module, Bonfire.Web.Endpoint
|
|
|
|
config :activity_pub, :adapter, Bonfire.Federate.ActivityPub.Adapter
|
|
|
|
config :activity_pub, ecto_repos: [Bonfire.Common.Repo]
|
|
|
|
config :activity_pub, Oban,
|
|
repo: Bonfire.Common.Repo,
|
|
queues: false
|
|
|
|
config :activity_pub, :instance, federating: false
|
|
# rewrite_policy: [ActivityPub.MRF.SimplePolicy]
|
|
|
|
config :tesla, adapter: Tesla.Mock
|
|
|
|
# Print only warnings and errors during test
|
|
config :logger, level: :warn
|
|
|
|
config :activity_pub, ActivityPubWeb.Endpoint,
|
|
http: [port: 4000],
|
|
server: false
|