From d89f52b03da0da5bfd8b3c5230acf662666b8c3a Mon Sep 17 00:00:00 2001 From: Nikita Savchenko Date: Thu, 3 Dec 2020 16:05:46 +0200 Subject: [PATCH] Fix APP__STRIPPED_PATH/APP__PROXY_DOMAIN description --- config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 0b73eab..3798bd8 100644 --- a/config.js +++ b/config.js @@ -13,8 +13,8 @@ const hostsWhitelistRegex = (() => { })(); console.log("Environment variables:"); -console.log(`APP__PROXY_DOMAIN=${proxyDomain} (path added to original host replace proxy host`); -console.log(`APP__STRIPPED_PATH=${strippedPath} (proxy domain added to replace original host in analytics scripts)`); +console.log(`APP__STRIPPED_PATH=${strippedPath} (a prefix path added to the original host, which will be removed in the proxy request)`); +console.log(`APP__PROXY_DOMAIN=${proxyDomain} (an optional proxy domain which will be used for client-side requests instead of the current domain)`); console.log(`APP__ENV_NAME=${env} (should not be local nor test in production)`); console.log(`APP__HOSTS_WHITELIST_REGEX=${hostsWhitelistRegex}${hostsWhitelistRegex.toString() === `/${MATCH_EVERYTHING_STRING}/` ? ' (YAY!! Anyone can use your proxy!)' : ''}`); @@ -96,7 +96,7 @@ export default { "/log_event\\?", "/r/collect", "/j/collect", - "/g/collect", + "/g/collect", // As of Dec 2020, Google Measurement Protocol v2 doesn't yet support location overwriting. "/collect", "/pageread/conversion", "/pagead/conversion",