1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

set min version on tls configuration even on the tests and examples

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-03-10 21:48:05 +02:00
parent 096349bb56
commit 7ab0f6fff5
8 changed files with 19 additions and 12 deletions

View File

@@ -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")
}