Hi all,
is there a way to access endpoint plug options in a runtime? Like getting the session cookie name (:key
from Plug.Session
)
defmodule MyAppWeb.MyEndpoint
use Phoenix.Endpoint, otp_app: :my_app
plug(
Plug.Session,
store: :cookie,
key: "_drab_test_app_key"
)
end
I’ve took a look on the sources, but I am afraid it is not stored anywhere. True?