Skip to content

Commit

Permalink
mix format is my best friend
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Dec 8, 2023
1 parent cf90675 commit 8ff49f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ config :nerves_hub, dns_cluster_query: dns_cluster_query

# Allow for all environments to override the database url
if env!("DATABASE_URL", :string!, nil) do
config :nerves_hub, NervesHub.Repo,
url: env!("DATABASE_URL", :string!)
config :nerves_hub, NervesHub.Repo, url: env!("DATABASE_URL", :string!)

config :nerves_hub, NervesHub.ObanRepo,
url: env!("DATABASE_URL", :string!)
config :nerves_hub, NervesHub.ObanRepo, url: env!("DATABASE_URL", :string!)
end

config :nerves_hub,
Expand Down
1 change: 0 additions & 1 deletion lib/nerves_hub_web/plugs/configure_uploads.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ defmodule NervesHubWeb.Plugs.ConfigureUploads do
def init(_opts), do: []

def call(conn, _opts) do

if local_uploads?() do
conn
|> NervesHubWeb.Plugs.FileUpload.call([])
Expand Down

0 comments on commit 8ff49f7

Please sign in to comment.