Compare commits
No commits in common. "09b375f666271f0450e177f5b74fdd7ee05633c3" and "e348daa3418c6930a6ed2c05d1040fb85a2d18b7" have entirely different histories.
09b375f666
...
e348daa341
7
app.js
7
app.js
@ -26,13 +26,6 @@ const oneDay = 86400000;
|
||||
app.use(compress());
|
||||
app.use(express.static(__dirname + '/build'));
|
||||
|
||||
// Lets try and slow down some of those exploit crawlers
|
||||
app.use("/", require('./filterRoutes'))
|
||||
|
||||
app.get("/robots.txt", function(reg, res) {
|
||||
res.send("User-agent: * Disallow: ")
|
||||
})
|
||||
|
||||
var md = markdown({html: true});
|
||||
md.parser.use(emoji);
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
const express = require('express');
|
||||
|
||||
const router = express.Router();
|
||||
router.all('(/*)?/wp-admin/', function (req, res) {});
|
||||
router.all('*?/xmlrpc.php', function (req, res) {});
|
||||
router.all('(/*)?/wp-includes/(*)?', function (req, res) {});
|
||||
router.all('/.git/*?', function (req, res) {});
|
||||
router.all('/wp-login.php', function (req, res) {});
|
||||
|
||||
module.exports = router
|
@ -6,7 +6,7 @@ tags: nodejs node npm javascript truncatise ghost
|
||||
summary: "Today I finally got around to modifying my <a href='https://ghost.org/' target='_blank'>Ghost</a> blog to make use of my new Node Module <a href='//blog.marcusnoble.co.uk/publishing-my-first-npm-module/'>Truncatise</a>.<br/><br/>This didn't go as smoothly as I hoped."
|
||||
---
|
||||
|
||||
Today I finally got around to modifying my [Ghost](https://ghost.org/) blog to make use of my new Node Module [Truncatise](/29-10-2013-publishing-my-first-npm-module/).
|
||||
Today I finally got around to modifying my [Ghost](https://ghost.org/) blog to make use of my new Node Module [Truncatise](/10-29-2013-publishing-my-first-npm-module/).
|
||||
|
||||
This didn't go as smoothly as I hoped.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user