Skip to content

Commit 88ef8bb

Browse files
suisanT1aldas
authored andcommitted
Update Set ID Code displaying online to a block
Output codes in `request` and `Log` are displaying in online on the website. The log code is cut in half and did not display properly. By removing thises (```), it displays in the block, and all the `Log` codes are visible on the website.
1 parent c18c7ac commit 88ef8bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/content/middleware/request-id.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ DefaultRequestIDConfig = RequestIDConfig{
5555
You can set the id from the requester with the `X-Request-ID`-Header
5656

5757
*request*
58-
```
58+
`
5959
curl -H "X-Request-ID: 3" --compressed -v "http://localhost:1323/?my=param"
60-
```
60+
`
6161

6262
*Log*
63-
```
63+
`
6464
{"time":"2017-11-13T20:26:28.6438003+01:00","id":"3","remote_ip":"::1","host":"localhost:1323","method":"GET","uri":"/?my=param","my":"param","status":200, "latency":0,"latency_human":"0s","bytes_in":0,"bytes_out":13}
65-
```
65+
`

0 commit comments

Comments
 (0)