mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix the cowboy_req:inform/3 example in the manual
This commit is contained in:
parent
3eec447960
commit
de955079f9
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ Req = cowboy_req:inform(102, Req0).
|
|||
[source,erlang]
|
||||
----
|
||||
Req = cowboy_req:inform(103, #{
|
||||
<<"link">> => <<"</style.css>; rel=preload; as=style">>,
|
||||
<<"link">> => <<"</script.js>; rel=preload; as=script">>
|
||||
<<"link">> => <<"</style.css>; rel=preload; as=style, "
|
||||
"</script.js>; rel=preload; as=script">>
|
||||
}, Req0).
|
||||
----
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue