update
This commit is contained in:
parent
d0979ebd5b
commit
8238b9ff39
2 changed files with 5 additions and 5 deletions
|
@ -37,10 +37,10 @@ static class Program
|
|||
//The order here matters
|
||||
Router router = new Router();
|
||||
router.Add(new CORS());
|
||||
router.Add("/variables/:param1/:param2", Variables);
|
||||
router.Add("/:file", Static.Create("www-static", "file"));
|
||||
router.Add("/:file", Static.Create("www-dynamic", "file"));
|
||||
router.Add("/", Root);
|
||||
router.Add(HttpMethod.GET, "/variables/:param1/:param2", Variables);
|
||||
router.Add(HttpMethod.GET, "/:file", Static.Create("www-static", "file"));
|
||||
router.Add(HttpMethod.GET, "/:file", Static.Create("www-dynamic", "file"));
|
||||
router.Add(HttpMethod.GET, "/", Root);
|
||||
router.SetDefault(NotFound);
|
||||
return router;
|
||||
}
|
||||
|
|
2
MiniHTTP
2
MiniHTTP
|
@ -1 +1 @@
|
|||
Subproject commit 2dacb80d492609d4a4407e85981bbe0447b3435f
|
||||
Subproject commit 3dd2c79b2174fdc3cf4ff1b1e7bf935c20ecc898
|
Loading…
Reference in a new issue