Skip to content

Commit

Permalink
Link cookie from secret dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Kendal committed Mar 2, 2017
1 parent d1e8be2 commit a2bcac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rel/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end
environment :prod do
set include_erts: true
set include_src: false
set cookie: :"#{:crypto.hash(:sha256, System.get_env("COOKIE"))}"
set cookie: String.to_atom(File.read!("config/cookie"))
end

# You may define one or more releases in this file.
Expand Down

0 comments on commit a2bcac5

Please sign in to comment.