Good morning people.
I am having a question about how I could do a function that would do an external access and then I would add this setting in the config.exs file.
config :myapp_web, MyappWeb.Endpoint, test: [host: MyappWeb.External.test()]
defmodule MyappWeb.External do def test do response = "localhost" response end end
Not found MyappWeb.External.test.