📈 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
added a variable environment to activate the marketplace
Yevhenii Kb8ccb3623398
diff --git a/.env.example b/.env.exampleindex aab5e7b42..69fbc4cdd 100644--- a/.env.example+++ b/.env.example@@ -39,4 +39,7 @@ USE_NEW_RELIC=NEW_RELIC_LICENSE_KEY=# Telegram Integration Bot-TG_BOT_TOKEN=\ No newline at end of file+TG_BOT_TOKEN=++# Activate the marketplace. Leave blank if you do not want to activate.+ACTIVATE_MARKETPLACE=\ No newline at end of filediff --git a/src/app.module.ts b/src/app.module.tsindex 0b09c6ff4..c7e103308 100644--- a/src/app.module.ts+++ b/src/app.module.ts@@ -46,7 +46,6 @@ const modules = [WebhookModule,PingModule,TGModule,- MarketplaceModule,]if (process.env.TG_BOT_TOKEN) {@@ -57,6 +56,10 @@ if (process.env.TG_BOT_TOKEN) {)}+if (process.env.ACTIVATE_MARKETPLACE) {+ modules.push(MarketplaceModule)+}+@Module({imports: modules,})