Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Add environment variable for basePath.
Mike Caoe2a6bf9f947b
diff --git a/next.config.js b/next.config.jsindex e98c091cc..10d91d361 100644--- a/next.config.js+++ b/next.config.js@@ -6,6 +6,7 @@ module.exports = {VERSION: pkg.version,FORCE_SSL: !!process.env.FORCE_SSL,},+ basePath: process.env.BASE_PATH,webpack(config) {config.module.rules.push({test: /\.svg$/,@@ -28,6 +29,6 @@ module.exports = {},],},- ]+ ];},};