Skip to content

📈 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!

Apply env vars using env command

Blue Mouse870d51a05178
diff --git a/web/start.sh b/web/start.sh
index dcc3c080f..5c801f40f 100755
--- a/web/start.sh
+++ b/web/start.sh
@@ -6,8 +6,8 @@ if [ -f .env ]; then
# Read .env file and format variables for inline usage
ENV_VARS=$(cat .env | grep -v '^#' | xargs)
- # Run npm start with variables inline
- $ENV_VARS npm run start
+ # Run npm start with variables inline using env command
+ env $ENV_VARS npm run start
else
echo "Error: .env file not found"
exit 1