Packages
A web application in pursuit of meaning in life.
Current section
Files
Jump to
Current section
Files
lib/udia_web/controllers/lets_encrypt_controller.ex
defmodule UdiaWeb.LetsEncryptController do
@moduledoc """
Controller for rendering lets encrypt challenge text
"""
use UdiaWeb, :controller
def index(conn, _params) do
challenge = Application.get_env(:udia, :lets_encrypt)[:challenge]
text conn, "#{challenge}"
end
end