1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Add back @session_options

This commit is contained in:
Daniel Barber 2023-10-04 15:33:52 -05:00
parent 87504064e7
commit 205d5a5a24

View File

@ -1,6 +1,12 @@
defmodule ChessWeb.Endpoint do
use Phoenix.Endpoint, otp_app: :chess
@session_options [
store: :cookie,
key: "_chess_key",
signing_salt: "9LqUhZTU"
]
if sandbox = Application.compile_env(:chess, :sandbox) do
plug(Phoenix.Ecto.SQL.Sandbox, sandbox: sandbox)
end