Ebay provider resolution
This commit is contained in:
parent
12c6d7e3da
commit
339e2f39d8
|
@ -41,6 +41,11 @@ fastify.get('/ytpl/:id', async (req, res) => {
|
|||
res.redirect(302, `https://youtube.com/playlist?list=${req.params.id}`)
|
||||
})
|
||||
|
||||
//Automagic ebay item redirects on /e/
|
||||
fastify.get('/e/:id', async (req, res) => {
|
||||
res.redirect(302, `https://ebay.de/itm/${req.params.id}`)
|
||||
})
|
||||
|
||||
//Normal shorturls
|
||||
fastify.get('/:shortcode', async (req, res) => {
|
||||
const shortcode = req.params.shortcode;
|
||||
|
|
Loading…
Reference in New Issue