Skip to content

Commit 89ab9ed

Browse files
fix config bug
1 parent dd4384c commit 89ab9ed

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ config :fileonchain,
1414
# Configures the endpoint
1515
config :fileonchain, FileonchainWeb.Endpoint,
1616
url: [host: System.get_env("PHX_HOST") || "localhost"],
17-
check_origin: [System.get_env("PHX_HOST") || "localhost"]
17+
check_origin: [System.get_env("PHX_HOST") || "localhost"],
1818
adapter: Bandit.PhoenixAdapter,
1919
render_errors: [
2020
formats: [html: FileonchainWeb.ErrorHTML, json: FileonchainWeb.ErrorJSON],

config/prod.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ config :fileonchain, FileonchainWeb.Endpoint,
1111
layout: false
1212
],
1313
cache_static_manifest: "priv/static/cache_manifest.json",
14-
code_reloader: true,
15-
debug_errors: true,
14+
debug_errors: true
1615

1716
# Configures Swoosh API Client
1817
config :swoosh, api_client: Swoosh.ApiClient.Finch, finch_name: Fileonchain.Finch

0 commit comments

Comments
 (0)