mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Don't use secret in example for now.
This commit is contained in:
parent
a353a79e49
commit
9b1f486a1b
@ -196,8 +196,7 @@ data routeParams =
|
||||
{ name = "mysession"
|
||||
, secrets =
|
||||
Secrets.succeed
|
||||
(\sessionSecret -> [ "secret4", "secret3", "secret2", sessionSecret ])
|
||||
|> Secrets.with "SESSION_SECRET"
|
||||
[ "secret4", "secret3", "secret2" ]
|
||||
, sameSite = "lax" -- TODO custom type
|
||||
}
|
||||
(OptimizedDecoder.field "userId" OptimizedDecoder.int)
|
||||
|
Loading…
Reference in New Issue
Block a user