You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, you should use Dream.set_secret. I did not catch all occurrences of ~secret when updating the docs. I'll fix that in a commit later today. Thank you very much for pointing this out!
dream.mli in comment:
"Specify {!Dream.run} argument [~secret], or the Web app will not be able to
decrypt cookies from prior starts."
(also documented on the website)
However, the actual signature of Dream.run is different:
val run :
?interface:string ->
?port:int ->
?stop:unit promise ->
?error_handler:error_handler ->
?tls:bool ->
?certificate_file:string ->
?key_file:string ->
?builtins:bool ->
?greeting:bool ->
?adjust_terminal:bool ->
handler -> unit
The text was updated successfully, but these errors were encountered: