mirror of
https://github.com/kataras/iris.git
synced 2026-01-18 09:25:59 +00:00
remove deprecated code from websocket/_examples/secure/main.go ⚓
Former-commit-id: 2eb8dff1ac0677473a5f26f938240106903ba336
This commit is contained in:
@@ -21,9 +21,6 @@ func main() {
|
||||
ctx.Redirect("/test2")
|
||||
})
|
||||
|
||||
// If http to https auto-redirect is one of your needs
|
||||
// please look the code inside ion_deprecateed.go.ListenLETSENCRYPT to do it manually.
|
||||
|
||||
// NOTE: This may not work on local addresses like this,
|
||||
// use it on a real domain, because
|
||||
// it uses the "golang.org/x/crypto/acme/autocert" package.
|
||||
|
||||
Reference in New Issue
Block a user