Skip to content

Commit

Permalink
Change to robots.txt module w/o wonky dependency
Browse files Browse the repository at this point in the history
(Previously used express-robots depended on as-array via GitHub
URL which tended to cause installation problems in proxied envs.)
  • Loading branch information
bkimminich committed Aug 14, 2018
1 parent 87ad34f commit 0e212bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"express-jwt": "0.1.3",
"express-rate-limit": "~2.11",
"express-security.txt": "~1.0",
"express-robots": "~0.1",
"express-robots-txt": "~0.4",
"file-stream-rotator": "~0.2",
"fs-extra": "~7.0.0",
"glob": "~7.1.2",
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const favicon = require('serve-favicon')
const bodyParser = require('body-parser')
const cors = require('cors')
const securityTxt = require('express-security.txt')
const robots = require('express-robots')
const robots = require('express-robots-txt')
const multer = require('multer')
const upload = multer({ storage: multer.memoryStorage(), limits: { fileSize: 200000 } })
const yaml = require('js-yaml')
Expand Down

0 comments on commit 0e212bd

Please sign in to comment.