diff options
Diffstat (limited to 'config/runtime.exs')
-rw-r--r-- | config/runtime.exs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/runtime.exs b/config/runtime.exs index 832dc95..dfd8427 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -1,14 +1,15 @@ import Config config :chessh, - port: String.to_integer(System.get_env("SSH_PORT", "42069")) + ssh_port: String.to_integer(System.get_env("SSH_PORT", "42069")) config :chessh, Web, github_client_id: System.get_env("GITHUB_CLIENT_ID"), github_client_secret: System.get_env("GITHUB_CLIENT_SECRET"), github_user_agent: System.get_env("GITHUB_USER_AGENT"), client_redirect_after_successful_sign_in: - System.get_env("CLIENT_REDIRECT_AFTER_OAUTH", "http://localhost:3000") + System.get_env("CLIENT_REDIRECT_AFTER_OAUTH", "http://localhost:3000"), + port: String.to_integer(System.get_env("WEB_PORT", "8080")) config :joken, default_signer: System.get_env("JWT_SECRET") |