📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
removed obsolete env propagation tool
Blue Mouse9454a91188ae
diff --git a/deployment/50-substitute-env-variables.sh b/deployment/50-substitute-env-variables.shdeleted file mode 100644index 8078f8857..000000000--- a/deployment/50-substitute-env-variables.sh+++ /dev/null@@ -1,12 +0,0 @@-#!/bin/sh-# WARNING: THIS FILE MUST BE SAVED WITH LF LINE ENDINGS, OTHERWISE IT WONT WORK-set -o errexit-set -o nounset-set -o pipefail--: "${API_URL}"--cat <<EOF > /usr/share/nginx/html/env.js-window.env = {};-window.env.API_URL = "$API_URL";-EOF\ No newline at end of filediff --git a/deployment/default.conf b/deployment/default.confdeleted file mode 100644index fe8eeebaf..000000000--- a/deployment/default.conf+++ /dev/null@@ -1,11 +0,0 @@-server {- listen 80;-- location = /env.js {- root /usr/share/nginx/html;- }-- location / {- proxy_pass http://127.0.0.1:3000;- }-}\ No newline at end of filediff --git a/public/env.js b/public/env.jsdeleted file mode 100644index 24e27de6c..000000000--- a/public/env.js+++ /dev/null@@ -1,2 +0,0 @@-window.env = {}-window.env.API_URL = 'http://example.com/api'