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:
parent
87504064e7
commit
205d5a5a24
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user