this is a really good first commit
This commit is contained in:
@ -7,7 +7,8 @@ defmodule SomethingErlangWeb.Endpoint do
|
||||
@session_options [
|
||||
store: :cookie,
|
||||
key: "_something_erlang_key",
|
||||
signing_salt: "IS9pH2I8"
|
||||
signing_salt: "0z4XWrxF",
|
||||
same_site: "Lax"
|
||||
]
|
||||
|
||||
socket "/live", Phoenix.LiveView.Socket, websocket: [connect_info: [session: @session_options]]
|
||||
@ -20,7 +21,7 @@ defmodule SomethingErlangWeb.Endpoint do
|
||||
at: "/",
|
||||
from: :something_erlang,
|
||||
gzip: false,
|
||||
only: ~w(assets fonts images favicon.ico robots.txt)
|
||||
only: SomethingErlangWeb.static_paths()
|
||||
|
||||
# Code reloading can be explicitly enabled under the
|
||||
# :code_reloader configuration of your endpoint.
|
||||
|
Reference in New Issue
Block a user