You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
const serveBadge = require('./serve-badge.js')
|
|
|
|
|
|
|
|
module.exports = function serve404 (req, res) {
|
|
|
|
req.params = {
|
|
|
|
subject: 'Badgen',
|
|
|
|
status: '404',
|
|
|
|
color: 'red'
|
|
|
|
}
|
|
|
|
serveBadge(req, res, { code: 404 })
|
|
|
|
}
|