Skip to content

Commit 4d10dc9

Browse files
authored
Update README.md
1 parent 9a92ad0 commit 4d10dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ await server.appendHandler(for: "/hello", handler: handler)
6161
Closures can be added to the server to handle requests:
6262

6363
```swift
64-
await server.appendHandler(for: "GET /hello") { request in
64+
await server.appendHandler(for: "/hello") { request in
6565
try await Task.sleep(nanoseconds: 1_000_000_000)
6666
return HTTPResponse(statusCode: .ok)
6767
}

0 commit comments

Comments
 (0)