From 2b7a8561f1806bbef99a35282e398b1a5c602b0e Mon Sep 17 00:00:00 2001 From: Mirjam Friesen Date: Fri, 5 Apr 2024 15:37:34 +0200 Subject: [PATCH] Change default tls port to 443 (#22) * Change default tls port to 443 * Use domain prefix `devices` for grisp.io (#24) --------- Co-authored-by: Luca Succi --- grisp/default/common/deploy/files/erl_inetrc | 6 +++--- src/grisp_io.app.src | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/grisp/default/common/deploy/files/erl_inetrc b/grisp/default/common/deploy/files/erl_inetrc index c903d98..31f2f75 100644 --- a/grisp/default/common/deploy/files/erl_inetrc +++ b/grisp/default/common/deploy/files/erl_inetrc @@ -1,9 +1,9 @@ %--- Erlang Inet Configuration ------------------------------------------------- % Add hosts -{host, {149,248,205,211}, ["grisp.io"]}. -{host, {37, 16, 30, 91}, ["stage.grisp.io"]}. -{host, {212,25,1,1}, ["0.europe.pool.ntp.org"]}. +{host, {149,248,205,211}, ["devices.grisp.io"]}. +{host, {37, 16, 30, 91}, ["devices.stage.grisp.io"]}. +{host, {212,25,1,1}, ["0.europe.pool.ntp.org"]}. % Do not monitor the hosts file {hosts_file, ""}. diff --git a/src/grisp_io.app.src b/src/grisp_io.app.src index fb15dfc..9a17bcb 100644 --- a/src/grisp_io.app.src +++ b/src/grisp_io.app.src @@ -17,8 +17,8 @@ grisp_cryptoauth ]}, {env, [ - {domain, "grisp.io"}, - {port, 7777}, + {domain, "devices.grisp.io"}, + {port, 443}, {connect, true}, % keeps a constant connection with grisp.io {ntp, false}, % if set to true, starts the NTP client {ws_requests_timeout, 5_000},