1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-24 05:17:03 +00:00

update some examples

Former-commit-id: 2ed7c323dd379eb68d5ccb2044cd9cc772ce0b08
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-05 22:03:01 +03:00
parent c10dd32ad7
commit cc19f80049
14 changed files with 20 additions and 19 deletions

View File

@@ -110,7 +110,7 @@ func main() {
// serves the browser-based websocket client.
app.Get("/", func(ctx iris.Context) {
ctx.ServeFile("./browser/index.html", false)
ctx.ServeFile("./browser/index.html")
})
// serves the npm browser websocket client usage example.

View File

@@ -1,8 +1,8 @@
module github.com/kataras/iris/_examples/websocket/socketio
go 1.13
go 1.14
require (
github.com/googollee/go-socket.io v1.4.3-0.20191109153049-7451e2f8c2e0
github.com/kataras/iris/v12 v12.1.8
github.com/kataras/iris/v12 v12.2.0
)