Update default
authorJeroen van der Heijden <jeroen@transceptor.technology>
Fri, 24 Jan 2020 12:28:01 +0000 (13:28 +0100)
committerJeroen van der Heijden <jeroen@transceptor.technology>
Fri, 24 Jan 2020 12:28:01 +0000 (13:28 +0100)
siridb.conf
src/siri/cfg/cfg.c

index 4d08f8b4171cca84454455098802b3ba44619066..6588e0d7fcec788b3b7950b4b2af67228fb3c6e7 100644 (file)
@@ -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
index 5fddc795284251f2e57c1e99186a2fd4c22c5589..93fe561e3d5723ed98da2a78a8a9bf529e091c30 100644 (file)
@@ -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,