Skip to content

Commit

Permalink
80 google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
fkkmemi committed Nov 28, 2018
1 parent 7cb03c1 commit b675fa1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
15 changes: 15 additions & 0 deletions be/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,18 @@ module.exports = app;
// .populate('_user', 'name')
// .populate('_board')
// .then(r => console.log(r))

// const net = require('net')
// net.createServer((sock) => {
//
// console.log('connected')
// sock.on('data', (data) => {
// console.log(data)
// })
// sock.on('error', (err) => {
// console.log(err)
// })
// sock.on('close', () => {
// console.log('close')
// })
// }).listen(cfgNet.port)
3 changes: 1 addition & 2 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ module.exports = {
PORT: 80
},
env_dev: {
NODE_ENV: 'development',
PORT: 3000
NODE_ENV: 'development'
}
}]
}
2 changes: 1 addition & 1 deletion fe/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Vue.prototype.$cfg = cfg
Vue.use(VeeValidate)
Vue.use(LoadScript)
Vue.use(VueAnalytics, {
id: 'UA-93372301-1',
id: cfg.analyticsID,
router,
autoTracking: {
pageviewOnLoad: false
Expand Down

0 comments on commit b675fa1

Please sign in to comment.