One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
<html> | |
<body> | |
<script> | |
(function () { | |
const sematextLogToken = 'c0e39f27-xxxx-xxxx-9f27-8818a4f0b59d' | |
var sematextUrl = `https://logsene-receiver.sematext.com/${sematextLogToken}/_bulk/` | |
var logBuffer = '' | |
let consoleLog = console.log | |
let lineCount = 0 | |
const sessionId = /SESS\w*ID=([^;]+)/i.test(document.cookie) ? RegExp.$1 : false |
/** | |
* Example of how to get the number of followers for a Medium.com User. | |
* | |
* | |
* Related links: | |
* https://github.com/Medium/medium-api-docs/issues/30#issuecomment-227911763 | |
* https://github.com/Medium/medium-api-docs/issues/73 | |
*/ | |
// LODASH |
var db = mongoose.connect('mongodb://localhost:27017/DB'); | |
// In middleware | |
app.use(function (req, res, next) { | |
// action after response | |
var afterResponse = function() { | |
logger.info({req: req}, "End request"); | |
// any other clean ups |