From a81c64291ab7a8cb2c360c2026520dbe942008ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E7=A4=BC=E6=88=90?= Date: Fri, 10 Mar 2023 14:18:10 +0800 Subject: [PATCH] http server --- apps/iot/src/iot_app.erl | 2 +- rebar.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/iot/src/iot_app.erl b/apps/iot/src/iot_app.erl index a647c10..c771355 100644 --- a/apps/iot/src/iot_app.erl +++ b/apps/iot/src/iot_app.erl @@ -20,7 +20,7 @@ start(_StartType, _StartArgs) -> %% 加速内存的回收 erlang:system_flag(fullsweep_after, 16), - %start_http_server(), + start_http_server(), iot_sup:start_link(). diff --git a/rebar.lock b/rebar.lock index 06e78cf..fc8b7b9 100644 --- a/rebar.lock +++ b/rebar.lock @@ -44,7 +44,7 @@ 0}, {<<"ranch">>, {git,"https://github.com/ninenines/ranch", - {ref,"6bbc8431d513d9bbed7817bc1bcb3b17ef26cb35"}}, + {ref,"9b8ed47d789412b0021bfc1f94f1c17c387c721c"}}, 1}, {<<"ssl_verify_fun">>,{pkg,<<"ssl_verify_fun">>,<<"1.1.6">>},1}, {<<"sync">>,