feat: make production ready

This commit is contained in:
Moritz Böhme 2025-05-15 08:31:26 +02:00
parent 0c721e9296
commit 3b196006c0
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
9 changed files with 87 additions and 70 deletions

View file

@ -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"