From 5d7661d44e88b23f240f2b818be9b3d53be5ae87 Mon Sep 17 00:00:00 2001 From: Yossi Eynav Date: Wed, 14 Feb 2024 01:33:04 +0200 Subject: [PATCH] fix(configs): fix broken configs --- client/config/default.json | 10 +++++----- server/config/custom-environment-variables.json | 3 +++ server/config/default.json | 8 ++++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/client/config/default.json b/client/config/default.json index 11cdf48f..fc8d4b1a 100644 --- a/client/config/default.json +++ b/client/config/default.json @@ -10,13 +10,13 @@ }, "analytics": { "ga": { - "enabled": false, - "ua": "" + "enabled": true, + "ua": "UA-122025557-1" }, "hotjar": { - "enabled": false, - "hjid": 0, - "hjsv": 0 + "enabled": true, + "hjid": 2234872, + "hjsv": 6 } } } diff --git a/server/config/custom-environment-variables.json b/server/config/custom-environment-variables.json index d6c8bbdd..88bad125 100644 --- a/server/config/custom-environment-variables.json +++ b/server/config/custom-environment-variables.json @@ -1,4 +1,7 @@ { + "geocoder": { + "apiKey": "SERVER_GEOCODER_API_KEY" + }, "session": { "secret": "SERVER_SESSION_SECRET" }, diff --git a/server/config/default.json b/server/config/default.json index 0e07b1bc..d385e80b 100644 --- a/server/config/default.json +++ b/server/config/default.json @@ -44,12 +44,12 @@ "debug": "logs/debug.log" }, "aws": { - "useS3ForTreeFiles": false, - "treeBucketName": "treeBucketName" + "useS3ForTreeFiles": true, + "treeBucketName": "prd-service-tree-c281bf34" }, "trees": { "rawDataDir": "/tmp/raw_trees", - "geoCodingInterval" : 30000, + "geoCodingInterval" : 5000, "maxPermits": 5, "haifaUrl" : "https://stg-service-tree-6b3da185.s3.eu-west-1.amazonaws.com/haifa/rptPirsum.xlsx", "hodHasharonUrl": "https://www.hod-hasharon.muni.il/%D7%91%D7%A7%D7%A9%D7%95%D7%AA-%D7%95%D7%A8%D7%99%D7%A9%D7%99%D7%95%D7%A0%D7%95%D7%AA-%D7%9B%D7%A8%D7%99%D7%AA%D7%94-2023/", @@ -59,7 +59,7 @@ }, "locationSearch": { "dbDistanceInMeters": false, - "filterPlansRadiusKm": null + "filterPlansRadiusKm": 10 }, "paymentServices": { "baseURL": "https://icom.yaad.net"