[banner] fix routes with slashes

This commit is contained in:
Andrea Vos 2020-11-01 12:48:12 +01:00
parent 9743d62d06
commit 0421a38ea3

View File

@ -24,7 +24,7 @@ const drawCircle = (context, image, x, y, size) => {
const router = Router();
router.get('/banner/:templateName.png', async (req, res) => {
router.get('/banner/:templateName*.png', async (req, res) => {
const width = 1200
const height = 600
const mime = 'image/png';