Skip to content

Commit 8f88087

Browse files
committed
fix: remove SECRET_KEY_BASE
This is a followup to #99. All this means is it's no longer required for users to specify `SECRET_KEY_BASE` (which we don't use anyway).
1 parent 7f8dcc7 commit 8f88087

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

server/config/releases.exs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,4 @@ config :realtime,
5555
jwt_secret: jwt_secret,
5656
jwt_claim_validators: jwt_claim_validators
5757

58-
secret_key_base =
59-
System.get_env("SECRET_KEY_BASE") ||
60-
raise """
61-
environment variable SECRET_KEY_BASE is missing.
62-
You can generate one by calling: mix phx.gen.secret
63-
"""
64-
65-
config :realtime, RealtimeWeb.Endpoint,
66-
http: [:inet6, port: app_port],
67-
secret_key_base: secret_key_base
58+
config :realtime, RealtimeWeb.Endpoint, http: [:inet6, port: app_port]

0 commit comments

Comments
 (0)