From 742ff70b8604e735f151de34e9a14bd4db6376fc Mon Sep 17 00:00:00 2001 From: pjsier Date: Sun, 3 Nov 2024 07:30:17 -0500 Subject: [PATCH] ci: remove node_env prod --- .github/workflows/cicd.yml | 1 - client/src/index.jsx | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c0da417..bf06505 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -107,7 +107,6 @@ jobs: VITE_PUBLIC_URL: https://propertypraxis.com VITE_BASE_URL: "" VITE_TILE_URL_BASE: https://property-praxis-${{ env.DEPLOY_ENV }}-assets.s3.amazonaws.com/tiles - NODE_ENV: production run: | npm ci --prefer-offline --no-audit --no-optional npm run build diff --git a/client/src/index.jsx b/client/src/index.jsx index 8739782..25a3ecc 100644 --- a/client/src/index.jsx +++ b/client/src/index.jsx @@ -11,7 +11,6 @@ import "./scss/index.scss" if (import.meta.env.PROD) { Sentry.init({ dsn: "https://66094b96912bcb73c3fcfa41b394e9bb@o86794.ingest.sentry.io/4506565004754944", - // TODO: Make this smarter environment: window.location.host === "propertypraxis.org" ? "prod" : "dev", }) }