Skip to content

armgit / umami

Public Imported from GitHub
0

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.

Fixed rewrite config.

Mike Caocb55cec34278
diff --git a/next.config.js b/next.config.js
index f72f85432..f45d7d819 100644
--- a/next.config.js
+++ b/next.config.js
@@ -39,8 +39,8 @@ const rewrites = [];
if (process.env.COLLECT_API_ENDPOINT) {
rewrites.push({
- source: 'process.env.COLLECT_API_ENDPOINT',
- destination: '/api/in',
+ source: process.env.COLLECT_API_ENDPOINT,
+ destination: '/api/send',
});
}