Browse Source

Remove anonlytics (#79)

master
Luke Childs 3 years ago
committed by GitHub
parent
commit
179e89c697
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      index.js
  2. 13265
      package-lock.json
  3. 1
      package.json

4
index.js

@ -1,5 +1,4 @@
const express = require('express'); const express = require('express');
const anonlytics = require('anonlytics-express');
const nunjucks = require('nunjucks'); const nunjucks = require('nunjucks');
const compression = require('compression'); const compression = require('compression');
const nunjucksFilters = require('./lib/nunjucks-filters'); const nunjucksFilters = require('./lib/nunjucks-filters');
@ -15,9 +14,6 @@ if (process.env.NOW) {
app.enable('trust proxy'); app.enable('trust proxy');
} }
// Analytics
app.use(anonlytics());
// Setup nunjucks // Setup nunjucks
nunjucks.configure('views', { express: app }); nunjucks.configure('views', { express: app });
nunjucksFilters(app); nunjucksFilters(app);

13265
package-lock.json

File diff suppressed because it is too large

1
package.json

@ -7,7 +7,6 @@
"node": ">=6.3" "node": ">=6.3"
}, },
"dependencies": { "dependencies": {
"anonlytics-express": "0.2.0",
"ascii-chart": "1.3.3", "ascii-chart": "1.3.3",
"clean-css": "4.1.11", "clean-css": "4.1.11",
"compression": "1.7.2", "compression": "1.7.2",

Loading…
Cancel
Save