I'm trying to use Grapevine to serve files from a directory on my hard drive. The url sent to request the file will end in a file extension, for example http://localhost:1234/contact.html.
I'm trying to catch the requests made with the Route
[RestRoute(HttpMethod = HttpMethod.GET, PathInfo = @".\w{2,4}\Z")]
yet it's not matching on anything. I've checked my regular expression syntax on a regular expression checker and it works.
Does Grapevine 4 still support regular expressions? Or is my path info wrong?
Thanks.
Sethmo