mirror of https://github.com/vapor/docs.git
Routing, Groups - Fixed code syntax highlighting.
This commit is contained in:
parent
75e3bd6f07
commit
e07cb0cd6b
|
|
@ -47,7 +47,7 @@ drop.group(AuthMiddleware()) { authorized in
|
|||
|
||||
You can limit the host for a group of routes.
|
||||
|
||||
```
|
||||
```swift
|
||||
drop.group(host: "vapor.codes") { vapor
|
||||
vapor.get { request in
|
||||
// only responds to requests to vapor.codes
|
||||
|
|
|
|||
Loading…
Reference in New Issue