1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-30 16:27:04 +00:00

add Iris + Serverless example link

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-23 17:55:29 +03:00
parent 8e049d77c9
commit ef5685bf7e
5 changed files with 8 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ import (
// This function should be registered on Serve.
func WriteStartupLogOnServe(w io.Writer) func(TaskHost) {
return func(h TaskHost) {
guessScheme := netutil.ResolveScheme(h.Supervisor.manuallyTLS || h.Supervisor.Fallback != nil)
guessScheme := netutil.ResolveScheme(h.Supervisor.autoTLS || h.Supervisor.manuallyTLS || h.Supervisor.Fallback != nil)
addr := h.Supervisor.FriendlyAddr
if addr == "" {
addr = h.Supervisor.Server.Addr