mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
Fix comment on wss example
Former-commit-id: 0dbc0c9f88ae7cd28df7ba764e76fce48b5eaaf2
This commit is contained in:
parent
e52a062ff5
commit
30f9bd364e
|
@ -55,7 +55,7 @@ func main() {
|
|||
app.Get("/", func(ctx *iris.Context) {
|
||||
// send our custom javascript source file before client really asks for that
|
||||
// using the new go v1.8's HTTP/2 Push.
|
||||
// Note that you have to listen using ListenTLS/ListenLETSENCRYPT in order this to work.
|
||||
// Note that you have to listen using ListenTLS in order this to work.
|
||||
if err := ctx.Push("/js/chat.js", nil); err != nil {
|
||||
app.Log(iris.DevMode, err.Error())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user