Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit 3210b4b

Browse files
Merge pull request #144 from mstephenp/patch-1
Update 03_A_Simple_API_Server.md
2 parents dffd1f1 + c8e0226 commit 3210b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Full Stack Web App with Kotlin Multiplatform/03_A_Simple_API_Server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Each call to `install` adds one feature to our ktor application:
8080

8181
- [`ContentNegotiation`](https://ktor.io/docs/serialization.html) provides the automatic content conversion of requests based on their`Content-Type` and `Accept` headers. Together with the `json()` setting, this enables automatic serialization and deserialization using the JSON format – allowing us to delegate this tedious task to the framework.
8282
- [`CORS`](https://ktor.io/docs/cors.html) configures [Cross-Origin Resource Sharing](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS), which will allow us later to make calls from arbitrary JavaScript clients, and helps us prevent issues down the line.
83-
- [`Compression`](https://ktor.io/docs/compression.html) greatly reduces the amount of data that's needed to be sent to the client by `gzip`ping outgoing content when applicable.
83+
- [`Compression`](https://ktor.io/docs/compression.html) greatly reduces the amount of data that's needed to be sent to the client by gzipping outgoing content when applicable.
8484

8585
This configuration is well-suited for our type of project, which means we can move on to create our common model – the representation of our shopping list items we want to expose.
8686

0 commit comments

Comments
 (0)