Skip to content

Commit d89f52b

Browse files
committedDec 3, 2020
Fix APP__STRIPPED_PATH/APP__PROXY_DOMAIN description
1 parent 8154843 commit d89f52b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const hostsWhitelistRegex = (() => {
1313
})();
1414

1515
console.log("Environment variables:");
16-
console.log(`APP__PROXY_DOMAIN=${proxyDomain} (path added to original host replace proxy host`);
17-
console.log(`APP__STRIPPED_PATH=${strippedPath} (proxy domain added to replace original host in analytics scripts)`);
16+
console.log(`APP__STRIPPED_PATH=${strippedPath} (a prefix path added to the original host, which will be removed in the proxy request)`);
17+
console.log(`APP__PROXY_DOMAIN=${proxyDomain} (an optional proxy domain which will be used for client-side requests instead of the current domain)`);
1818
console.log(`APP__ENV_NAME=${env} (should not be local nor test in production)`);
1919
console.log(`APP__HOSTS_WHITELIST_REGEX=${hostsWhitelistRegex}${hostsWhitelistRegex.toString() === `/${MATCH_EVERYTHING_STRING}/` ? ' (YAY!! Anyone can use your proxy!)' : ''}`);
2020

@@ -96,7 +96,7 @@ export default {
9696
"/log_event\\?",
9797
"/r/collect",
9898
"/j/collect",
99-
"/g/collect",
99+
"/g/collect", // As of Dec 2020, Google Measurement Protocol v2 doesn't yet support location overwriting.
100100
"/collect",
101101
"/pageread/conversion",
102102
"/pagead/conversion",

0 commit comments

Comments
 (0)
Failed to load comments.