1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-11 05:55:57 +00:00

misspell fix

Former-commit-id: a6e81fd308a1f741c16d24793778d4046a172b35
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-02-17 10:49:28 +02:00
parent 9a3c4f4c0a
commit 5c318dfce6
6 changed files with 10 additions and 10 deletions

View File

@@ -1016,7 +1016,7 @@ func main() {
ctx.Render("client.html", clientPage{"Client Page", ctx.Host()})
})
// the path which the websocket client should listen/registed to ->
// the path which the websocket client should listen/registered to ->
iris.Config.Websocket.Endpoint = "/my_endpoint"
// by-default all origins are accepted, you can change this behavior by setting:
// iris.Config.Websocket.CheckOrigin
@@ -1100,7 +1100,7 @@ func main() {
app.Adapt(view.HTML("./templates", ".html")) // select the html engine to serve templates
ws := websocket.New(websocket.Config{
// the path which the websocket client should listen/registed to,
// the path which the websocket client should listen/registered to,
Endpoint: "/my_endpoint",
// the client-side javascript static file path
// which will be served by Iris.