pull/34/head
Amio 2019-01-02 20:49:23 +08:00
rodzic 09578dd4df
commit 2c8c27fa70
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -49,6 +49,13 @@
| ![](/icon/badge?icon=chrome&style=flat) | [/icon/badge?icon=chrome&style=flat](/icon/badge?icon=chrome&style=flat)
| ![](/icon/badge?icon=lgtm&iconWidth=19&style=flat) | [/icon/badge?icon=lgtm&iconWidth=19&style=flat](/icon/badge?icon=lgtm&iconWidth=19&style=flat)
## Bare badge
| Badge | URL |
| --- | --- |
| ![](http://localhost:3000//badge) | [//badge](http://localhost:3000//badge)
| ![](http://localhost:3000//badge?style=flat) | [//badge?style=flat](//badge?style=flat)
## Edge Cases

Wyświetl plik

@ -5,7 +5,7 @@ const qs = require('querystring')
const serveMarked = require('serve-marked')
const badgen = require('..')
const icons = require('../test/icon-data-uri.js')
const icons = require('../test/assets/icon-data-uri.js')
const serveBadge = (req, res) => {
const { pathname, query } = url.parse(req.url)