Skip to content

Commit efc8f63

Browse files
Fennygitbook-bot
authored andcommitted
GitBook: [master] 3 pages modified
1 parent d5b292e commit efc8f63

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

context.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,8 @@ app.Get("/", func(c *fiber.Ctx) {
10991099

11001100
Transfers the file from the given path. Sets the [Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) response HTTP header field based on the **filenames** extension.
11011101

1102-
{% hint style="info" %}
1103-
Method use **gzipping** by default, set it to **false** to disable.
1102+
{% hint style="warning" %}
1103+
Method use **gzipping** by default, set it to **true** to disable.
11041104
{% endhint %}
11051105

11061106
{% code title="Signature" %}
@@ -1115,7 +1115,7 @@ app.Get("/not-found", func(c *fiber.Ctx) {
11151115
c.SendFile("./public/404.html")
11161116

11171117
// Disable gzipping:
1118-
c.SendFile("./static/index.html", false)
1118+
c.SendFile("./static/index.html", true)
11191119
})
11201120
```
11211121
{% endcode %}

translations/nl/SUMMARY.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)