wibblymat/shed

path-to-regexp treats port numbers as groups

Closed this issue · 1 comments

So //originblah/hello/world/ matches //origin:8000/hello/world/.

Origins are now handled separately to the express style routing

shed.router.get('/hello/world', shed.cacheFirst, {origin: 'https://origin:8000'});