Skip to content

Commit

Permalink
Fix: Security by goatconter leak (#87)
Browse files Browse the repository at this point in the history
* Fix: Security by goatconter leak

* deleted script
  • Loading branch information
rlajous authored Jul 5, 2022
1 parent be7aaa7 commit 12c24a2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion frontend/.env.template
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
VUE_APP_GOAT_COUNTER=__add_me__
INFURA_ID=__add_me__
1 change: 0 additions & 1 deletion frontend/quasar.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ module.exports = function (ctx) {
env: {
INFURA_ID: JSON.stringify(process.env.INFURA_ID),
BUILD_ENV: JSON.stringify(process.env.NODE_ENV),
VUE_APP_GOAT_COUNTER: JSON.stringify(process.env.VUE_APP_GOAT_COUNTER),
},
},

Expand Down
6 changes: 0 additions & 6 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ export default {
const { userAddress } = window.localStorage;
let tokens = [];
const script = document.createElement('script');
script.src = '//gc.zgo.at/count.js';
script.async = true;
script.setAttribute('data-goatcounter', process.env.VUE_APP_GOAT_COUNTER);
document.getElementsByTagName('head')[0].appendChild(script);
// Get user's POAP tokens
if (userAddress && JSON.parse(userAddress)) {
const poapTokensUrl = `https://api.poap.tech/actions/scan/${JSON.parse(userAddress)}`;
Expand Down

0 comments on commit 12c24a2

Please sign in to comment.