I am trying to create different routes for different API versions.
I saw the following stackoverflow post: How do you handle api version in a Node/Express app
which linked me to this express js code: http://j-query.blogspot.ca/2013/01/versioned-apis-with-express.html
I am trying to copy the code and convert it to KOA (which I am a bit new to..)
How do I do this?
Something like this would seem to work: