ash_admin/test/support/endpoint.ex

19 lines
417 B
Elixir
Raw Normal View History

2022-05-26 04:17:52 +12:00
defmodule AshAdmin.Test.Endpoint do
use Phoenix.Endpoint, otp_app: :ash_admin
socket("/live", Phoenix.LiveView.Socket)
socket("/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket)
plug(Phoenix.LiveReloader)
plug(Phoenix.CodeReloader)
plug(Plug.Session,
store: :cookie,
key: "_live_view_key",
signing_salt: "/VEDsdfsffMnp5"
)
plug(Plug.RequestId)
plug(AshAdmin.Test.Router)
end