mirror of
https://github.com/kataras/iris.git
synced 2026-01-11 14:05:59 +00:00
set min version on tls configuration even on the tests and examples
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
|
||||
<hr/>
|
||||
|
||||
<strong>Read more at: <a href="https://golang.org/pkg/html/template" target="_new">
|
||||
https://golang.org/pkg/html/template</a>
|
||||
<strong>Read more at: <a href="https://pkg.go.dev/html/template" target="_new">
|
||||
https://pkg.go.dev/html/template</a>
|
||||
</strong>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,7 +2,9 @@ module github.com/kataras/iris/_examples/websocket/basic
|
||||
|
||||
go 1.17
|
||||
|
||||
// replace github.com/kataras/iris/v12 => ../../../
|
||||
|
||||
require (
|
||||
github.com/iris-contrib/middleware/jwt v0.0.0-20200710202437-92b01b85baaf
|
||||
github.com/kataras/iris/v12 master
|
||||
github.com/iris-contrib/middleware/jwt v0.0.0-20220301201128-27fa0f6a7d7e
|
||||
github.com/kataras/iris/v12 v12.2.0-alpha9.0.20220310184134-096349bb56d8
|
||||
)
|
||||
|
||||
@@ -113,8 +113,14 @@ func main() {
|
||||
ctx.ServeFile("./browser/index.html")
|
||||
})
|
||||
|
||||
app.Get("/other", func(ctx iris.Context) {
|
||||
ctx.WriteString("Other route")
|
||||
})
|
||||
|
||||
// serves the npm browser websocket client usage example.
|
||||
app.HandleDir("/browserify", iris.Dir("./browserify"))
|
||||
|
||||
// http://localhost:8080
|
||||
// http://localhost:8080/browserify/client.html
|
||||
app.Listen(":8080")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user