diff --git a/config/config.exs b/config/config.exs index 412b88a..a5705e3 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,5 +1,6 @@ import Config +config :phoenix, :json_library, Jason config :phoenix, :stacktrace_depth, 20 # Initialize plugs at runtime for faster development compilation diff --git a/mix.exs b/mix.exs index 6f20f79..c28c971 100644 --- a/mix.exs +++ b/mix.exs @@ -70,7 +70,7 @@ defmodule Surface.Catalogue.MixProject do {:earmark, "~> 1.4.21"}, {:makeup_elixir, "~> 0.16.0"}, {:html_entities, "~> 0.4"}, - {:jason, "~> 1.0", only: :dev}, + {:jason, "~> 1.0", optional: true, override: true}, {:plug_cowboy, "~> 2.0", only: :dev}, {:esbuild, "~> 0.2", only: :dev}, {:floki, ">= 0.35.3", only: :test},