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.
 

14 lines
300 B

import url from 'url'
import serveBadge from './serve-badge'
export default function (req, res) {
const params = {
subject: 'Badgen',
status: '404',
color: 'orange'
}
const { query } = url.parse(req.url, true)
serveBadge(req, res, { code: 404, params, query: query as any })
}