Skip to content

Instantly share code, notes, and snippets.

@gdelca5
gdelca5 / c#
Created January 26, 2015 11:41
Nancy RedirectResponse
using Nancy;
public class IndexModule : Nancy.NancyModule
{
public IndexModule()
{
Get["/"] = parameters =>
{
return new RedirectResponse("http://localhost:9000/");
};