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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user