mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-18 00:52:40 +00:00
Mime types
This commit is contained in:
parent
21cfaa8e8f
commit
6fbf19c468
|
@ -77,7 +77,10 @@ RUN chmod +x config/*.sh && chmod +x priv/*.sh && sh config/deps.js.sh
|
|||
# Compile Bonfire extensions
|
||||
RUN MIX_ENV=prod mix do deps.compile
|
||||
|
||||
# migrations
|
||||
# Update mime types
|
||||
RUN MIX_ENV=prod mix do deps.clean --build mime
|
||||
|
||||
# Include migrations
|
||||
COPY data/current_flavour/repo priv/repo
|
||||
|
||||
# bonfire-app code & assets
|
||||
|
|
|
@ -48,10 +48,3 @@ config :activity_pub, :json_contexts, %{
|
|||
"ValueFlows" => "https://w3id.org/valueflows#",
|
||||
"om2" => "http://www.ontology-of-units-of-measure.org/resource/om-2/"
|
||||
}
|
||||
|
||||
config :mime, :types, %{
|
||||
"application/json" => ["activity+json"],
|
||||
"application/activity+json" => ["activity+json"],
|
||||
"application/ld+json" => ["ld+json"],
|
||||
"application/jrd+json" => ["jrd+json"]
|
||||
}
|
||||
|
|
|
@ -72,6 +72,7 @@ config :bonfire, Oban,
|
|||
]
|
||||
|
||||
config :mime, :types, %{
|
||||
"application/json" => ["json"],
|
||||
"application/activity+json" => ["activity+json"],
|
||||
"application/ld+json" => ["ld+json"],
|
||||
"application/jrd+json" => ["jrd+json"]
|
||||
|
|
|
@ -66,6 +66,7 @@ config :bonfire, Oban,
|
|||
]
|
||||
|
||||
config :mime, :types, %{
|
||||
"application/json" => ["json"],
|
||||
"application/activity+json" => ["activity+json"],
|
||||
"application/ld+json" => ["ld+json"],
|
||||
"application/jrd+json" => ["jrd+json"]
|
||||
|
|
|
@ -65,12 +65,12 @@ config :bonfire, Oban,
|
|||
]
|
||||
|
||||
config :mime, :types, %{
|
||||
"application/json" => ["json"],
|
||||
"application/activity+json" => ["activity+json"],
|
||||
"application/ld+json" => ["ld+json"],
|
||||
"application/jrd+json" => ["jrd+json"]
|
||||
}
|
||||
|
||||
|
||||
config :sentry,
|
||||
dsn: "this-will-be-overriden-by-a-secure-string-in-runtime.exs",
|
||||
environment_name: Mix.env,
|
||||
|
|
|
@ -66,12 +66,12 @@ config :bonfire, Oban,
|
|||
]
|
||||
|
||||
config :mime, :types, %{
|
||||
"application/json" => ["json"],
|
||||
"application/activity+json" => ["activity+json"],
|
||||
"application/ld+json" => ["ld+json"],
|
||||
"application/jrd+json" => ["jrd+json"]
|
||||
}
|
||||
|
||||
|
||||
config :sentry,
|
||||
dsn: "this-will-be-overriden-by-a-secure-string-in-runtime.exs",
|
||||
environment_name: Mix.env,
|
||||
|
|
Loading…
Reference in a new issue