📈 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
fixed other artifacts
Blue Mouse7e4cd9df5708
diff --git a/src/app.module.ts b/src/app.module.tsindex 53738e1d6..6fcf84404 100644--- a/src/app.module.ts+++ b/src/app.module.ts@@ -20,7 +20,8 @@ import { AlertModule } from './alert/alert.module'import { I18nModule } from 'nestjs-i18n'import { getI18nConfig } from './configs'import { AuthModule } from './auth/auth.module'-import { CaptchaModule, isDevelopment, isTgTokenPresent } from './captcha/captcha.module'+import { CaptchaModule } from './captcha/captcha.module'+import { isDevelopment, isTgTokenPresent } from './common/constants'const modules = [ConfigModule.forRoot({ envFilePath: '.env', isGlobal: true }),diff --git a/src/common/constants.ts b/src/common/constants.tsindex c3bac4656..b0b3fe337 100644--- a/src/common/constants.ts+++ b/src/common/constants.ts@@ -41,7 +41,6 @@ const clickhouse = new ClickHouse({const isSelfhosted = Boolean(process.env.SELFHOSTED)const isTgTokenPresent = Boolean(process.env.TG_BOT_TOKEN)-const isDevelopment = process.env.NODE_ENV === 'development'const isNewRelicEnabled = Boolean(process.env.USE_NEW_RELIC)const isDevelopment = process.env.NODE_ENV === 'development'const PRODUCTION_ORIGIN = process.env.CLIENT_URL || 'https://swetrix.com'