Redirect short URL to full web addressλ︎
Adding a redirect is very easy to do with ring, as the ring library provides a function called redirect that takes a url as an argument
Note:: Include the
ring.util.response/redirectfunction into theshorturl-service.handlernamespace so that we can simply call theredirectfunctionλ︎