From: Jeroen van der Heijden Date: Fri, 24 Jan 2020 12:28:01 +0000 (+0100) Subject: Update default X-Git-Tag: archive/raspbian/2.0.44-1+rpi1~1^2~3^2~5^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f288d6a80ddb94feb1ff7c823bfa28d55f8cda39;p=siridb-server.git Update default --- diff --git a/siridb.conf b/siridb.conf index 4d08f8b4..6588e0d7 100644 --- a/siridb.conf +++ b/siridb.conf @@ -100,5 +100,5 @@ http_status_port = 0 # When the HTTP API port is not set (or 0), the API service will not start. # Otherwise the HTTP POST requests can be user to insert or query data points. # -#http_api_port = 0 -http_api_port = 9020 \ No newline at end of file +#http_api_port = 9020 +http_api_port = 0 \ No newline at end of file diff --git a/src/siri/cfg/cfg.c b/src/siri/cfg/cfg.c index 5fddc795..93fe561e 100644 --- a/src/siri/cfg/cfg.c +++ b/src/siri/cfg/cfg.c @@ -23,7 +23,7 @@ static siri_cfg_t siri_cfg = { .http_status_port=0, /* 0=disabled, 1-16535=enabled */ - .http_api_port=9020, /* 0=disabled, 1-16535=enabled */ + .http_api_port=0, /* 0=disabled, 1-16535=enabled */ .listen_client_port=9000, .listen_backend_port=9010, .bind_client_addr=NULL,