Skip to content

Commit 2b83cd4

Browse files
committed
fix(docs): update Ktor routing example to use routing DSL instead of install(Routing)
1 parent 292becd commit 2b83cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/server/ktor-server/ktor-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fun Application.graphQLModule() {
6363
)
6464
}
6565
}
66-
install(Routing) {
66+
routing {
6767
graphQLPostRoute()
6868
}
6969
install(StatusPages) {

0 commit comments

Comments
 (0)