dep upgrade
This commit is contained in:
@ -7,11 +7,11 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"code.icod.de/dalu/ginpongo2/v6"
|
||||
"code.icod.de/postfix/manager/ent"
|
||||
"code.icod.de/postfix/manager/ui"
|
||||
"code.icod.de/postfix/manager/ui/handler"
|
||||
"git.icod.de/dalu/ginpongo2/v5"
|
||||
"github.com/flosch/pongo2/v5"
|
||||
"github.com/flosch/pongo2/v6"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
@ -72,7 +72,7 @@ var uiCmd = &cobra.Command{
|
||||
// serve
|
||||
if strings.HasPrefix(uiAddr, prefixTCP) {
|
||||
addr := strings.TrimPrefix(uiAddr, prefixTCP)
|
||||
fmt.Println("listening on", addr)
|
||||
fmt.Println("listening on", fmt.Sprintf("http://%s", addr))
|
||||
return r.Run(addr)
|
||||
} else if strings.HasPrefix(uiAddr, prefixUNIX) {
|
||||
addr := strings.TrimPrefix(uiAddr, prefixUNIX)
|
||||
@ -83,7 +83,7 @@ var uiCmd = &cobra.Command{
|
||||
if e := os.Remove(addr); e != nil {
|
||||
return e
|
||||
} else {
|
||||
fmt.Println("listening on", addr)
|
||||
fmt.Println("listening on ", addr)
|
||||
return r.RunUnix(addr)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user