Template google analytics data
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).
This commit is contained in:
parent
ddb7e2a12b
commit
e2f400472f
5 changed files with 40 additions and 10 deletions
3
front/.gitignore
vendored
3
front/.gitignore
vendored
|
@ -5,4 +5,5 @@
|
|||
/dist/webpack.config.js
|
||||
/dist/webpack.config.js.map
|
||||
/dist/src
|
||||
*.sh
|
||||
*.sh
|
||||
!templater.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue