feat: make production ready
This commit is contained in:
parent
0c721e9296
commit
3b196006c0
9 changed files with 87 additions and 70 deletions
|
|
@ -51,7 +51,7 @@ config :putzplan,
|
|||
|
||||
# Configures the endpoint
|
||||
config :putzplan, PutzplanWeb.Endpoint,
|
||||
url: [host: "localhost"],
|
||||
url: [host: "127.0.0.1"],
|
||||
adapter: Bandit.PhoenixAdapter,
|
||||
render_errors: [
|
||||
formats: [html: PutzplanWeb.ErrorHTML, json: PutzplanWeb.ErrorJSON],
|
||||
|
|
@ -99,6 +99,8 @@ config :logger, :console,
|
|||
# Use Jason for JSON parsing in Phoenix
|
||||
config :phoenix, :json_library, Jason
|
||||
|
||||
config :exqlite, force_build: true
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
import_config "#{config_env()}.exs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue