Skip to content

Commit

Permalink
Fix module name
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Feb 13, 2024
1 parent 4073414 commit ca57261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ roles = (System.get_env("ROLES") || "api") |> String.split(",") |> Enum.map(&Str
config :absinthe_federation_example, roles: roles

if System.get_env("PHX_SERVER") && :api in roles do
config :phoenix_container_example, PhoenixContainerExampleWeb.Endpoint, server: true
config :phoenix_container_example, AbsintheFederationExampleWeb.Endpoint, server: true
end

if config_env() == :prod do
Expand Down Expand Up @@ -118,7 +118,7 @@ if config_env() == :prod do
# Only configure the production mailer if we have AWS credentials
if System.get_env("AWS_ACCESS_KEY_ID") || System.get_env("AWS_CONTAINER_CREDENTIALS_RELATIVE_URI") do
config :absinthe_federation_example, AbsintheFederationExample.Mailer, adapter: Swoosh.Adapters.ExAwsAmazonSES
config :swoosh, api_client: Swoosh.ApiClient.Finch, finch_name: PhoenixContainerExample.Finch
config :swoosh, api_client: Swoosh.ApiClient.Finch, finch_name: AbsintheFederationExample.Finch
# Disable Swoosh Local Memory Storage
config :swoosh, local: false
end
Expand Down

0 comments on commit ca57261

Please sign in to comment.