Browse Source

comment out analytics

pull/1/head
Rob Colbert 3 years ago
parent
commit
f80ffa8534
  1. 10
      app/controllers/link.js

10
app/controllers/link.js

@ -71,11 +71,11 @@ class LinkController extends SiteController {
/* /*
* Do these jobs in parallel so the total work gets done faster * Do these jobs in parallel so the total work gets done faster
*/ */
const jobs = [ // const jobs = [
linkService.recordVisit(res.locals.link, req), // linkService.recordVisit(res.locals.link, req),
resourceService.recordView(req, 'Link', res.locals.link._id), // resourceService.recordView(req, 'Link', res.locals.link._id),
]; // ];
await Promise.all(jobs); // we don't care about any specific results // await Promise.all(jobs); // we don't care about any specific results
res.redirect(res.locals.link.href); // off you go! res.redirect(res.locals.link.href); // off you go!
} catch (error) { } catch (error) {

Loading…
Cancel
Save