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.

Add a comment for EMBED_HOSTED_URL

Sukhpal Sainib4a26314ef5b
diff --git a/next.config.js b/next.config.js
index 061a48aa3..e004566a2 100644
--- a/next.config.js
+++ b/next.config.js
@@ -4,7 +4,8 @@ const pkg = require('./package.json');
const CLOUD_URL = 'https://cloud.umami.is';
-const EMBED_HOSTED_URL = process.env.EMBED_HOSTED_URL
+// Space-separated list of URLs that can load the "Share" dashboard, i.e. http://app.localhost:7000 https://*.vercel.app
+const EMBED_HOSTED_URL = process.env.EMBED_HOSTED_URL;
const contentSecurityPolicy = `
default-src 'self';