Without this patch, the index.html contains google analytics at all times, including for people self-hosting it. This is a problem for privacy reasons, and only people wanting to have analytics on their instances should be able to enable them. This fixes it by making sure the index.html page is templated to sideload content from ANALYTICS_CODE_PATH (which itself is also templated, for convenience).
9 lines
141 B
Text
9 lines
141 B
Text
/node_modules/
|
|
/dist/bundle.js
|
|
/dist/tests/
|
|
/yarn-error.log
|
|
/dist/webpack.config.js
|
|
/dist/webpack.config.js.map
|
|
/dist/src
|
|
*.sh
|
|
!templater.sh
|